TextAnchor

Part of the text placed closest to the anchor.

enum TextAnchor : Enum<TextAnchor> , LayerProperty

Parameters

value

String value of this property

Entries

CENTER
Link copied to clipboard

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

CENTER("center")
LEFT
Link copied to clipboard

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

LEFT("left")
RIGHT
Link copied to clipboard

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

RIGHT("right")
TOP
Link copied to clipboard

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

TOP("top")
BOTTOM
Link copied to clipboard

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

BOTTOM("bottom")
TOP_LEFT
Link copied to clipboard

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

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

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

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

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

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

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

BOTTOM_RIGHT("bottom-right")

Functions

compareTo
Link copied to clipboard
operator override fun compareTo(other: TextAnchor): Int
equals
Link copied to clipboard
operator override fun equals(other: Any?): Boolean
finalize
Link copied to clipboard
override fun finalize()
getDeclaringClass
Link copied to clipboard
override fun getDeclaringClass(): Class<TextAnchor>
hashCode
Link copied to clipboard
override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String

Properties

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

String value of this property

open override val value: String