FloatingLabelAppearance

data class FloatingLabelAppearance @JvmOverloads() constructor(margin: Double?, text: MPIOptions.FloatingLabelAppearance.Text?, marker: MPIOptions.FloatingLabelAppearance.Marker?)

FloatingLabelAppearance holds the appearance properties of floating labels to be set when labeling polygons

Constructors

FloatingLabelAppearance
Link copied to clipboard
fun FloatingLabelAppearance(margin: Double? = null, text: MPIOptions.FloatingLabelAppearance.Text? = null, marker: MPIOptions.FloatingLabelAppearance.Marker? = null)

Types

Color
Link copied to clipboard
data class Color @JvmOverloads() constructor(active: String?, inactive: String?)
Companion
Link copied to clipboard
object Companion
Marker
Link copied to clipboard
data class Marker @JvmOverloads() constructor(size: Double?, foregroundColor: MPIOptions.FloatingLabelAppearance.Color?, backgroundColor: MPIOptions.FloatingLabelAppearance.Color?)
Text
Link copied to clipboard
data class Text @JvmOverloads() constructor(numLines: Int?, size: Double?, maxWidth: Double?, foregroundColor: String?, backgroundColor: String?)

Functions

component1
Link copied to clipboard
operator fun component1(): Double?
component2
Link copied to clipboard
operator fun component2(): MPIOptions.FloatingLabelAppearance.Text?
component3
Link copied to clipboard
operator fun component3(): MPIOptions.FloatingLabelAppearance.Marker?
copy
Link copied to clipboard
fun copy(margin: Double? = null, text: MPIOptions.FloatingLabelAppearance.Text? = null, marker: MPIOptions.FloatingLabelAppearance.Marker? = null): MPIOptions.FloatingLabelAppearance
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

margin
Link copied to clipboard
val margin: Double? = null
Margin around the label and marker.
marker
Link copied to clipboard
val marker: MPIOptions.FloatingLabelAppearance.Marker? = null
Marker appearance
text
Link copied to clipboard
val text: MPIOptions.FloatingLabelAppearance.Text? = null
Text appearance