You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: platform/darwin/src/MGLBackgroundStyleLayer.h
+12-2
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,5 @@
1
-
// This file is generated. Do not edit.
1
+
// This file is generated.
2
+
// Edit platform/ios/scripts/generate-style-code.js, then run `make style-code-ios`.
2
3
3
4
#import<Mapbox/Mapbox.h>
4
5
@@ -7,12 +8,21 @@
7
8
8
9
@interfaceMGLBackgroundStyleLayer : MGLStyleLayer
9
10
10
-
//Paint properties
11
+
#pragma mark - Accessing the Paint Attributes
11
12
13
+
/**
14
+
The color with which the background will be drawn.
15
+
*/
12
16
@property (nonatomic) MGLColor *backgroundColor;
13
17
18
+
/**
19
+
Name of image in sprite to use for drawing an image background. For seamless patterns, image width and height must be a factor of two (2, 4, 8, ..., 512).
Controls the scaling behavior of the circle when the map is pitched. The value `map` scales circles according to their apparent distance to the camera. The value `viewport` results in no pitch-related scaling.
The opacity of the entire fill layer. In contrast to the fill-color, this value will also affect the 1px stroke around the fill, if the stroke is used.
24
+
*/
18
25
@property (nonatomic) CGFloat fillOpacity;
19
26
27
+
/**
28
+
The color of the filled part of this layer. This color can be specified as rgba with an alpha component and the color's opacity will not affect the opacity of the 1px stroke, if it is used.
29
+
*/
20
30
@property (nonatomic) MGLColor *fillColor;
21
31
32
+
/**
33
+
The outline color of the fill. Matches the value of `fill-color` if unspecified.
34
+
*/
22
35
@property (nonatomic) MGLColor *fillOutlineColor;
23
36
37
+
/**
38
+
The geometry's offset. Values are [x, y] where negatives indicate left and up, respectively.
39
+
*/
24
40
@property (nonatomic) NSArray *fillTranslate;
25
41
42
+
/**
43
+
Control whether the translation is relative to the map (north) or viewport (screen)
Draws a line casing outside of a line's actual path. Value indicates the width of the inner gap.
76
+
*/
46
77
@property (nonatomic) CGFloat lineGapWidth;
47
78
79
+
/**
80
+
The line's offset perpendicular to its direction. Values may be positive or negative, where positive indicates "rightwards" (if you were moving in the direction of the line) and negative indicates "leftwards."
81
+
*/
48
82
@property (nonatomic) CGFloat lineOffset;
49
83
84
+
/**
85
+
Blur applied to the line, in pixels.
86
+
*/
50
87
@property (nonatomic) CGFloat lineBlur;
51
88
89
+
/**
90
+
Specifies the lengths of the alternating dashes and gaps that form the dash pattern. The lengths are later scaled by the line width. To convert a dash length to pixels, multiply the length by the current line width.
91
+
*/
52
92
@property (nonatomic) NSArray *lineDasharray;
53
93
94
+
/**
95
+
Name of image in sprite to use for drawing image lines. For seamless patterns, image width must be a factor of two (2, 4, 8, ..., 512).
0 commit comments