TextStyle
public struct TextStyleRepresents the style used to display safety locations markers.
Important
This stylization API is intended to be used for only the turn-by-turn navigation.Important
This is a Public Preview API. It may be changed or removed at any time.- 
                  
                  Initializes a new SafetyLocationStyle/TextStyleinstance with the specified values.DeclarationParametersfontURIThe font of the speed limit text on the marker. By default, fontURIis used.colorText color. By default, coloris used.sizeText size (in point units). By default, sizeis used.offsetDoubledescribing the offset that will be used to position the label in theTomTomSDKMapDisplay/Marker. Depending on the anchoring, the point of the label that is anchored varies: - If anchoring is left, the anchor point is the baseline-leftmost pixel of the label. - If anchoring is center, the anchor point is the baseline-center pixel of the label. - If anchoring is right, the anchor point is the baseline-rightmost pixel of the label.By default, ``Defaults/offset`` is used.anchoringTomTomSDKMapsDisplay/TextAnchoringdetermining how the label is positioned in theTomTomSDKMapDisplay/Marker. By default,anchoringis used.
- 
                  
                  The font of the speed limit text on the marker. DeclarationSwift public let fontURI: String
- 
                  
                  Text color. DeclarationSwift public var color: UIColor
- 
                  
                  Text size (in point units). DeclarationSwift public var size: Double
- 
                  
                  Describing the offset that will be used to position the label in the TomTomSDKMapDisplay/Marker. Depending on the anchoring, the point of the label that is anchored varies:- If anchoring is left, the anchor point is the baseline-leftmost pixel of the label.
- If anchoring is center, the anchor point is the baseline-center pixel of the label.
- If anchoring is right, the anchor point is the baseline-rightmost pixel of the label.
 DeclarationSwift public var offset: MarkerLabelOptions.TextOffset
- 
                  
                  The anchoring that will be used to position the speed limit text. Default value is center. DeclarationSwift public var anchoring: TextAnchoring
 
         TomTom SDK for iOS (0.53.1)
 
          TomTom SDK for iOS (0.53.1)
         TextStyle
          TextStyle