diff options
author | Minh Nguyễn <mxn@1ec5.org> | 2016-08-21 16:04:22 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-21 16:04:22 -0700 |
commit | d6c8463da8a7cf0098f716693d0b7507dfe79763 (patch) | |
tree | af062796cff714444a519230c3a86f3083f5a575 /platform/darwin/src/MGLFillStyleLayer.h | |
parent | ea41ed0769059334b4c0a959c0a0ef909ed57bee (diff) | |
download | qtlocation-mapboxgl-d6c8463da8a7cf0098f716693d0b7507dfe79763.tar.gz |
[ios, macos] Copyedit default color property documentation (#6105)
* [ios, macos] Fixed typo in color property docs
* [ios, macos] Predefined colors as default color property values
Use {NS,UI}Color.blackColor and {NS,UI}Color.whiteColor as aliases for common default color values.
Diffstat (limited to 'platform/darwin/src/MGLFillStyleLayer.h')
-rw-r--r-- | platform/darwin/src/MGLFillStyleLayer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/darwin/src/MGLFillStyleLayer.h b/platform/darwin/src/MGLFillStyleLayer.h index dc724eb48a..206fa92322 100644 --- a/platform/darwin/src/MGLFillStyleLayer.h +++ b/platform/darwin/src/MGLFillStyleLayer.h @@ -32,7 +32,7 @@ typedef NS_ENUM(NSUInteger, MGLFillStyleLayerFillTranslateAnchor) { /** The color of the filled part of this layer. This color can be specified as rgba with an alpha component and the color's opacity will not affect the opacity of the 1pt stroke, if it is used. - If this property is set to `nil`, the layer uses an implicit default value of an `NSColor` or `UIColor`object whose RGB value is 0, 0, 0 and whose alpha value is 1. + If this property is set to `nil`, the layer uses an implicit default value of `blackColor` with an alpha value of 1. This property is only applied to the style if `fillPattern` is set to `nil`. Otherwise, it is ignored. */ |