From 0e803186272f9febc84ea9c9e0fdc1b44d637d03 Mon Sep 17 00:00:00 2001 From: Jason Wray Date: Wed, 8 Feb 2017 18:00:23 -0500 Subject: [ios, macos] Add more bullets to style property docs --- platform/darwin/src/MGLBackgroundStyleLayer.h | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) (limited to 'platform/darwin/src/MGLBackgroundStyleLayer.h') 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 *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 *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 *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: -- cgit v1.2.1