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/MGLLineStyleLayer.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/MGLLineStyleLayer.h')
-rw-r--r-- | platform/darwin/src/MGLLineStyleLayer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/darwin/src/MGLLineStyleLayer.h b/platform/darwin/src/MGLLineStyleLayer.h index 6dda999047..285a34cf3c 100644 --- a/platform/darwin/src/MGLLineStyleLayer.h +++ b/platform/darwin/src/MGLLineStyleLayer.h @@ -71,7 +71,7 @@ typedef NS_ENUM(NSUInteger, MGLLineStyleLayerLineTranslateAnchor) { /** The color with which the line will be drawn. - 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 `linePattern` is set to `nil`. Otherwise, it is ignored. */ |