TextFormatOptions

data class TextFormatOptions(var fontScale: Double? = null, var textFont: List<String>? = null, var textColor: Color? = null)

Per-span formatting options for Mapbox format expressions built with Expression.Companion.format.

Serialized to a small JSON object (font-scale, text-font, text-color) alongside each text fragment.

Constructors

Link copied to clipboard
constructor(fontScale: Double? = null, textFont: List<String>? = null, textColor: Color? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard