TextAppearance
public struct TextAppearance : Equatable
Text Appearance
-
The color of the text. Default value is white.
Declaration
Swift
public var textColor: UIColor
-
Size of the text. Default value is 12.
Declaration
Swift
public var textSize: Double
-
The offset that will be used to position the label in the marker. Default value is x=0, y=0. Depending on the anchoring, the point of the label that will be anchored will vary:
- If anchoring is left, the anchor point will be the baseline-leftmost pixel of the label
- If anchoring is center, the anchor point will be the baseline-center pixel of the label
- If anchoring is right, the anchor point will be the baseline-rightmost pixel of the label
Declaration
Swift
public var textOffset: TextOffset
-
The anchoring that will be used to position the text. Default value is center.
Declaration
Swift
public var textAnchoring: TextAnchoring