-
Undocumented
Declaration
Swift
public init() -
The color of the icon. This can only be used with sdf icons.
Declaration
Swift
public var iconColor: Value<ColorRepresentable>? -
Transition options for
iconColor.Declaration
Swift
public var iconColorTransition: StyleTransition? -
Fade out the halo towards the outside.
Declaration
Swift
public var iconHaloBlur: Value<Double>? -
Transition options for
iconHaloBlur.Declaration
Swift
public var iconHaloBlurTransition: StyleTransition? -
The color of the icon’s halo. Icon halos can only be used with SDF icons.
Declaration
Swift
public var iconHaloColor: Value<ColorRepresentable>? -
Transition options for
iconHaloColor.Declaration
Swift
public var iconHaloColorTransition: StyleTransition? -
Distance of halo to the icon outline.
Declaration
Swift
public var iconHaloWidth: Value<Double>? -
Transition options for
iconHaloWidth.Declaration
Swift
public var iconHaloWidthTransition: StyleTransition? -
The opacity at which the icon will be drawn.
Declaration
Swift
public var iconOpacity: Value<Double>? -
Transition options for
iconOpacity.Declaration
Swift
public var iconOpacityTransition: StyleTransition? -
Distance that the icon’s anchor is moved from its original placement. Positive values indicate right and down, while negative values indicate left and up.
Declaration
Swift
public var iconTranslate: Value<[Double]>? -
Transition options for
iconTranslate.Declaration
Swift
public var iconTranslateTransition: StyleTransition? -
Controls the frame of reference for
icon-translate.Declaration
Swift
public var iconTranslateAnchor: IconTranslateAnchor? -
The color with which the text will be drawn.
Declaration
Swift
public var textColor: Value<ColorRepresentable>? -
Transition options for
textColor.Declaration
Swift
public var textColorTransition: StyleTransition? -
The halo’s fadeout distance towards the outside.
Declaration
Swift
public var textHaloBlur: Value<Double>? -
Transition options for
textHaloBlur.Declaration
Swift
public var textHaloBlurTransition: StyleTransition? -
The color of the text’s halo, which helps it stand out from backgrounds.
Declaration
Swift
public var textHaloColor: Value<ColorRepresentable>? -
Transition options for
textHaloColor.Declaration
Swift
public var textHaloColorTransition: StyleTransition? -
Distance of halo to the font outline. Max text halo width is ¼ of the font-size.
Declaration
Swift
public var textHaloWidth: Value<Double>? -
Transition options for
textHaloWidth.Declaration
Swift
public var textHaloWidthTransition: StyleTransition? -
The opacity at which the text will be drawn.
Declaration
Swift
public var textOpacity: Value<Double>? -
Transition options for
textOpacity.Declaration
Swift
public var textOpacityTransition: StyleTransition? -
Distance that the text’s anchor is moved from its original placement. Positive values indicate right and down, while negative values indicate left and up.
Declaration
Swift
public var textTranslate: Value<[Double]>? -
Transition options for
textTranslate.Declaration
Swift
public var textTranslateTransition: StyleTransition? -
Controls the frame of reference for
text-translate.Declaration
Swift
public var textTranslateAnchor: TextTranslateAnchor?
Paint Structure Reference