IconTextFit

enum IconTextFit : Enum<IconTextFit> , LayerProperty

Scales the icon to fit around the associated text.

Parameters

value

String value of this property

Entries

NONE
Link copied to clipboard
NONE("none")
The icon is displayed at its intrinsic aspect ratio.
WIDTH
Link copied to clipboard
WIDTH("width")
The icon is scaled in the x-dimension to fit the width of the text.
HEIGHT
Link copied to clipboard
HEIGHT("height")
The icon is scaled in the y-dimension to fit the height of the text.
BOTH
Link copied to clipboard
BOTH("both")
The icon is scaled in both x- and y-dimensions.

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
fun finalize()
getDeclaringClass
Link copied to clipboard
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
val name: String
ordinal
Link copied to clipboard
val ordinal: Int
value
Link copied to clipboard
open override val value: String
String value of this property