diff options
Diffstat (limited to 'platform/darwin/src/MGLBackgroundStyleLayer.h')
-rw-r--r-- | platform/darwin/src/MGLBackgroundStyleLayer.h | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/platform/darwin/src/MGLBackgroundStyleLayer.h b/platform/darwin/src/MGLBackgroundStyleLayer.h index 213f52968b..35dcb94b51 100644 --- a/platform/darwin/src/MGLBackgroundStyleLayer.h +++ b/platform/darwin/src/MGLBackgroundStyleLayer.h @@ -37,13 +37,14 @@ MGL_EXPORT value. This property is only applied to the style if `backgroundPattern` is set to - `nil`. Otherwise, it is ignored.` + `nil`. Otherwise, it is ignored. This property can be set to one of the following values: - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` + - `MGLCameraStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<UIColor *> *backgroundColor; #else @@ -55,13 +56,14 @@ MGL_EXPORT value. This property is only applied to the style if `backgroundPattern` is set to - `nil`. Otherwise, it is ignored.` + `nil`. Otherwise, it is ignored. This property can be set to one of the following values: - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` + - `MGLCameraStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSColor *> *backgroundColor; #endif @@ -71,20 +73,21 @@ MGL_EXPORT The default value of this property is an `MGLStyleValue` object containing an `NSNumber` object containing the float `1`. Set this property to `nil` to reset - it to the default value.` + it to the default value. This property can be set to one of the following values: - `MGLStyleConstantValue` - - `MGLCameraStyleFunction` with an interpolation mode of - `MGLInterpolationModeExponential` or `MGLInterpolationModeInterval` + - `MGLCameraStyleFunction` with an interpolation mode of: + - `MGLInterpolationModeExponential` + - `MGLInterpolationModeInterval` */ @property (nonatomic, null_resettable) MGLStyleValue<NSNumber *> *backgroundOpacity; /** Name of image in style images to use for drawing an image background. For seamless patterns, image width and height must be a factor of two (2, 4, 8, - ..., 512).` + ..., 512). This property can be set to one of the following values: |