FloatingLabel

data class FloatingLabel @JvmOverloads() constructor(text: String, shortText: String?, stateText: String?, rank: Double?, appearance: MPIOptions.FloatingLabelAppearance?)

FloatingLabel holds the properties of floating labels to be set when setting labels to polygons

Constructors

FloatingLabel
Link copied to clipboard
fun FloatingLabel(text: String, shortText: String? = null, stateText: String? = null, rank: Double? = null, appearance: MPIOptions.FloatingLabelAppearance? = null)

Functions

component1
Link copied to clipboard
operator fun component1(): String
component2
Link copied to clipboard
operator fun component2(): String?
component3
Link copied to clipboard
operator fun component3(): String?
component4
Link copied to clipboard
operator fun component4(): Double?
component5
Link copied to clipboard
operator fun component5(): MPIOptions.FloatingLabelAppearance?
copy
Link copied to clipboard
fun copy(text: String, shortText: String? = null, stateText: String? = null, rank: Double? = null, appearance: MPIOptions.FloatingLabelAppearance? = null): MPIOptions.FloatingLabel
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String

Properties

appearance
Link copied to clipboard
val appearance: MPIOptions.FloatingLabelAppearance? = null
Control the appearance of smart labels
rank
Link copied to clipboard
val rank: Double? = null
rank of the label
shortText
Link copied to clipboard
val shortText: String? = null
short text to display for the label
stateText
Link copied to clipboard
val stateText: String? = null
state text to display for the label
text
Link copied to clipboard
val text: String
text to display for the label