summaryrefslogtreecommitdiff
path: root/platform/darwin/src/MGLBackgroundStyleLayer.h
diff options
context:
space:
mode:
authorMinh Nguyễn <mxn@1ec5.org>2016-08-25 22:37:20 -0700
committerMinh Nguyễn <mxn@1ec5.org>2016-08-26 22:27:51 -0700
commita648f42bc7c3c61be5301a4da05cd639d297b3ca (patch)
treebd8ac14a36d63ac23ace64378e1a939f9354ac9f /platform/darwin/src/MGLBackgroundStyleLayer.h
parent9d368ea98d096c1eed2c1eb7edc4a37ff31b03b7 (diff)
downloadqtlocation-mapboxgl-a648f42bc7c3c61be5301a4da05cd639d297b3ca.tar.gz
[ios, macos] More specific default value types
The documentation for runtime style API properties now spells out the value of the default type, to help developers infer the type of the property itself.
Diffstat (limited to 'platform/darwin/src/MGLBackgroundStyleLayer.h')
-rw-r--r--platform/darwin/src/MGLBackgroundStyleLayer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/darwin/src/MGLBackgroundStyleLayer.h b/platform/darwin/src/MGLBackgroundStyleLayer.h
index 3fbd7e3869..577767814c 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.
- The default value of this property is `blackColor`. Set this property to `nil` to reset it to the default value.
+ The default value of this property is `NSColor.blackColor` or `UIColor.blackColor`. Set this property to `nil` to reset it to the default value.
This property is only applied to the style if `backgroundPattern` is set to `nil`. Otherwise, it is ignored.
*/
@@ -27,7 +27,7 @@ NS_ASSUME_NONNULL_BEGIN
/**
The opacity at which the background will be drawn.
- The default value of this property is `1`. Set this property to `nil` to reset it to the default value.
+ The default value of this property is an `NSNumber` object containing the float `1`. Set this property to `nil` to reset it to the default value.
*/
@property (nonatomic, null_resettable) id <MGLStyleAttributeValue> backgroundOpacity;