TextAnchoring

enum TextAnchoring : Enum<TextAnchoring>

Options for the horizontal position of the anchor in relation to the Label text.

Important: This is a Public Preview API. It may be changed or removed at any time.

Entries

Link copied to clipboard

Specifies that the anchor is on the left side of a text.

Link copied to clipboard

Specifies that the anchor is on the right side of a text.

Link copied to clipboard

Specifies that the anchor is in the middle of a text.

Link copied to clipboard

Specifies that the anchor location is selected automatically based on available space around the marker. The anchor is placed in the first location that does not result in the text being culled. If there is no such location then the text is not shown.

Properties

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