TextAnchor

enum TextAnchor : Enum<TextAnchor> , LayerProperty

Part of the text placed closest to the anchor.

Parameters

value

String value of this property

Entries

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

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