IconTextFit

enum IconTextFit : Enum<IconTextFit> , LayerProperty

Scales the icon to fit around the associated text.

Parameters

value

String value of this property

Entries

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

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