summaryrefslogtreecommitdiff
path: root/platform/darwin/src/MGLLineStyleLayer.h
diff options
context:
space:
mode:
authorMinh Nguyễn <mxn@1ec5.org>2016-08-21 16:04:22 -0700
committerGitHub <noreply@github.com>2016-08-21 16:04:22 -0700
commitd6c8463da8a7cf0098f716693d0b7507dfe79763 (patch)
treeaf062796cff714444a519230c3a86f3083f5a575 /platform/darwin/src/MGLLineStyleLayer.h
parentea41ed0769059334b4c0a959c0a0ef909ed57bee (diff)
downloadqtlocation-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.h2
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.
*/