summaryrefslogtreecommitdiff
path: root/platform/darwin/src/MGLBackgroundStyleLayer.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/MGLBackgroundStyleLayer.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/MGLBackgroundStyleLayer.h')
-rw-r--r--platform/darwin/src/MGLBackgroundStyleLayer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/darwin/src/MGLBackgroundStyleLayer.h b/platform/darwin/src/MGLBackgroundStyleLayer.h
index 1310b6ed00..6846d31935 100644
--- a/platform/darwin/src/MGLBackgroundStyleLayer.h
+++ b/platform/darwin/src/MGLBackgroundStyleLayer.h
@@ -13,7 +13,7 @@ NS_ASSUME_NONNULL_BEGIN
/**
The color with which the background 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 `backgroundPattern` is set to `nil`. Otherwise, it is ignored.
*/