IconAnchor

enum IconAnchor : Enum<IconAnchor> , LayerProperty

Part of the icon placed closest to the anchor.

Parameters

value

String value of this property

Entries

BOTTOM_RIGHT
Link copied to clipboard
BOTTOM_RIGHT("bottom-right")

The bottom right corner of the icon is placed closest to the anchor.

BOTTOM_LEFT
Link copied to clipboard
BOTTOM_LEFT("bottom-left")

The bottom left corner of the icon is placed closest to the anchor.

TOP_RIGHT
Link copied to clipboard
TOP_RIGHT("top-right")

The top right corner of the icon is placed closest to the anchor.

TOP_LEFT
Link copied to clipboard
TOP_LEFT("top-left")

The top left corner of the icon is placed closest to the anchor.

BOTTOM
Link copied to clipboard
BOTTOM("bottom")

The bottom of the icon is placed closest to the anchor.

TOP
Link copied to clipboard
TOP("top")

The top of the icon is placed closest to the anchor.

RIGHT
Link copied to clipboard
RIGHT("right")

The right side of the icon is placed closest to the anchor.

LEFT
Link copied to clipboard
LEFT("left")

The left side of the icon is placed closest to the anchor.

CENTER
Link copied to clipboard
CENTER("center")

The center of the icon is placed closest to the anchor.

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