DynamicLabelStyle

data class DynamicLabelStyle(    val textStyle: StyledText.MapTextStyle = StyledText.MapTextStyle(),     val minFontSize: Int = 0,     val maxFontSize: Int = 0,     val labelExtent: PointF = PointF(0.0f, 0.0f)) : Parcelable

Constructors

Link copied to clipboard
fun DynamicLabelStyle(    textStyle: StyledText.MapTextStyle = StyledText.MapTextStyle(),     minFontSize: Int = 0,     maxFontSize: Int = 0,     labelExtent: PointF = PointF(0.0f, 0.0f))

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)

Properties

Link copied to clipboard
val labelExtent: PointF

Relative Extent (or Area) of the label to the parent object, over which is label drawn (thus values should be in range <0;1>)

Link copied to clipboard
val maxFontSize: Int = 0

Maximal font size that will be used for drawing the label (value < 1 will result in fixed label scale, according to the textStyle)

Link copied to clipboard
val minFontSize: Int = 0
Link copied to clipboard
val textStyle: StyledText.MapTextStyle

Basic text settings for the label