IconTextFit

enum IconTextFit : Enum<IconTextFit> , LayerProperty

Scales the icon to fit around the associated text.

Parameters

value

String value of this property

Entries

Link copied to clipboard

The icon is displayed at its intrinsic aspect ratio.

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val value: String