-
Undocumented
Declaration
Swift
public init() -
Blur applied to the line, in pixels.
Declaration
Swift
public var lineBlur: Value<Double>? -
Transition options for
lineBlur.Declaration
Swift
public var lineBlurTransition: StyleTransition? -
The color with which the line will be drawn.
Declaration
Swift
public var lineColor: Value<ColorRepresentable>? -
Transition options for
lineColor.Declaration
Swift
public var lineColorTransition: StyleTransition? -
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. Note that GeoJSON sources with
lineMetrics: truespecified won’t render dashed lines to the expected scale. Also note that zoom-dependent expressions will be evaluated only at integer zoom levels.Declaration
Swift
public var lineDasharray: Value<[Double]>? -
Transition options for
lineDasharray.Declaration
Swift
public var lineDasharrayTransition: StyleTransition? -
Draws a line casing outside of a line’s actual path. Value indicates the width of the inner gap.
Declaration
Swift
public var lineGapWidth: Value<Double>? -
Transition options for
lineGapWidth.Declaration
Swift
public var lineGapWidthTransition: StyleTransition? -
Defines a gradient with which to color a line feature. Can only be used with GeoJSON sources that specify
"lineMetrics": true.Declaration
Swift
public var lineGradient: Value<ColorRepresentable>? -
The line’s offset. For linear features, a positive value offsets the line to the right, relative to the direction of the line, and a negative value to the left. For polygon features, a positive value results in an inset, and a negative value results in an outset.
Declaration
Swift
public var lineOffset: Value<Double>? -
Transition options for
lineOffset.Declaration
Swift
public var lineOffsetTransition: StyleTransition? -
The opacity at which the line will be drawn.
Declaration
Swift
public var lineOpacity: Value<Double>? -
Transition options for
lineOpacity.Declaration
Swift
public var lineOpacityTransition: StyleTransition? -
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). Note that zoom-dependent expressions will be evaluated only at integer zoom levels.
Declaration
Swift
public var linePattern: Value<ResolvedImage>? -
Transition options for
linePattern.Declaration
Swift
public var linePatternTransition: StyleTransition? -
The geometry’s offset. Values are [x, y] where negatives indicate left and up, respectively.
Declaration
Swift
public var lineTranslate: Value<[Double]>? -
Transition options for
lineTranslate.Declaration
Swift
public var lineTranslateTransition: StyleTransition? -
Controls the frame of reference for
line-translate.Declaration
Swift
public var lineTranslateAnchor: LineTranslateAnchor? -
Stroke thickness.
Declaration
Swift
public var lineWidth: Value<Double>? -
Transition options for
lineWidth.Declaration
Swift
public var lineWidthTransition: StyleTransition?
Paint Structure Reference