IconTextFit

Scales the icon to fit around the associated text.

enum IconTextFit : Enum<IconTextFit> , LayerProperty

Parameters

value

String value of this property

Entries

NONE
Link copied to clipboard

The icon is displayed at its intrinsic aspect ratio.

NONE("none")
WIDTH
Link copied to clipboard

The icon is scaled in the x-dimension to fit the width of the text.

WIDTH("width")
HEIGHT
Link copied to clipboard

The icon is scaled in the y-dimension to fit the height of the text.

HEIGHT("height")
BOTH
Link copied to clipboard

The icon is scaled in both x- and y-dimensions.

BOTH("both")

Functions

compareTo
Link copied to clipboard
operator override fun compareTo(other: IconTextFit): Int
equals
Link copied to clipboard
operator override fun equals(other: Any?): Boolean
finalize
Link copied to clipboard
override fun finalize()
getDeclaringClass
Link copied to clipboard
override fun getDeclaringClass(): Class<IconTextFit>
hashCode
Link copied to clipboard
override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String

Properties

name
Link copied to clipboard
override val name: String
ordinal
Link copied to clipboard
override val ordinal: Int
value
Link copied to clipboard

String value of this property

open override val value: String