Package com.mapbox.mapboxsdk.style.types
Contains the Mapbox Maps Android Formatted Expression Types API classes.
Types
Name | Summary |
---|---|
Formatted | open class Formatted Represents a string broken into sections annotated with separate formatting options. |
FormattedSection | open class FormattedSection A component of the Formatted. |
Formatted
open class Formatted
Represents a string broken into sections annotated with separate formatting options.
See also
Name | Summary |
---|---|
Style specification | Style specification |
Constructors
Name | Summary |
---|---|
Formatted | open fun Formatted(formattedSections: Array<FormattedSection>)Create a new formatted text. |
Functions
Name | Summary |
---|---|
equals | open fun equals(o: Any): Boolean |
hashCode | open fun hashCode(): Int |
toArray | open fun toArray(): Array |
toString | open fun toString(): String |
Properties
Name | Summary |
---|---|
formattedSections | private val formattedSections: Array<FormattedSection> |
equals
open fun equals(o: Any): Boolean
formattedSections
private val formattedSections: Array<FormattedSection>
hashCode
open fun hashCode(): Int
toArray
open fun toArray(): Array
toString
open fun toString(): String
FormattedSection
open class FormattedSection
A component of the Formatted.
Constructors
Name | Summary |
---|---|
FormattedSection | open fun FormattedSection(text: String)Creates a formatted section. |
FormattedSection | open fun FormattedSection(text: String, fontScale: Number, fontStack: Array |
Functions
Name | Summary |
---|---|
equals | open fun equals(o: Any): Boolean |
hashCode | open fun hashCode(): Int |
toArray | open fun toArray(): Array |
toString | open fun toString(): String |
Properties
Name | Summary |
---|---|
fontScale | private open var fontScale: Number |
fontStack | private open var fontStack: Array |
text | private open val text: String |
textColor | private open var textColor: String |
equals
open fun equals(o: Any): Boolean
fontScale
private open var fontScale: Number
fontStack
private open var fontStack: Array
hashCode
open fun hashCode(): Int
textColor
private open var textColor: String
text
private open val text: String
toArray
open fun toArray(): Array
toString
open fun toString(): String
Android SDK
SDK JS Reference
- Root
- attribution
- camera
- constants
- exceptions
- geometry
- http
- location
- location.engine
- location.modes
- location.permissions
- log
- maps
- maps.renderer
- maps.renderer.egl
- maps.renderer.glsurfaceview
- maps.renderer.textureview
- maps.widgets
- module.http
- module.loader
- net
- offline
- snapshotter
- storage
- style.expressions
- style.layers
- style.light
- style.sources
- style.types
- text
- utils
On this page