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, textColor: String)Creates a formatted section.

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