ShieldFontConfig
class ShieldFontConfig
Configuration for font properties used to resolve a specific typeface during SVG rendering. This process relies on an SVGExternalFileResolver
that has been registered with SVG#registerExternalFileResolver
.
To ensure compatibility, the values you provide for your font configuration must be supported by the registered SVGExternalFileResolver
. For the Mapbox implementation, please refer to the MapboxNavigationSVGExternalFileResolver class, which contains detailed information on the supported fonts and configuration specifics.
Types
Link copied to clipboard
Build a new ShieldFontConfig
Link copied to clipboard
annotation class FontStyle
Possible font style values are defined according to the Tiny SVG 1.2 specification.
Link copied to clipboard
annotation class FontWeight
Numeric font weight values defined according to the Tiny SVG 1.2 specification.