FlatLabel

data class FlatLabel(text: String?, appearance: MPIOptions.FlatLabelAppearance?) : MPIOptions.AbstractFlatLabel

FlatLabel holds the properties of flat labels to be set when setting flat label to polygons

Constructors

FlatLabel
Link copied to clipboard
fun FlatLabel(text: String? = null, appearance: MPIOptions.FlatLabelAppearance? = null)

Functions

component1
Link copied to clipboard
operator fun component1(): String?
component2
Link copied to clipboard
operator fun component2(): MPIOptions.FlatLabelAppearance?
copy
Link copied to clipboard
fun copy(text: String? = null, appearance: MPIOptions.FlatLabelAppearance? = null): MPIOptions.FlatLabel
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
open override val appearance: MPIOptions.FlatLabelAppearance? = null
Control the appearance of flat labels
text
Link copied to clipboard
open override val text: String? = null
Text to display for the flat label