TextAnchor

enum TextAnchor : Enum<TextAnchor> , LayerProperty

Part of the text placed closest to the anchor.

Parameters

value

String value of this property

Entries

CENTER
Link copied to clipboard
CENTER("center")
The center of the text is placed closest to the anchor.
LEFT
Link copied to clipboard
LEFT("left")
The left side of the text is placed closest to the anchor.
RIGHT
Link copied to clipboard
RIGHT("right")
The right side of the text is placed closest to the anchor.
TOP
Link copied to clipboard
TOP("top")
The top of the text is placed closest to the anchor.
BOTTOM
Link copied to clipboard
BOTTOM("bottom")
The bottom of the text is placed closest to the anchor.
TOP_LEFT
Link copied to clipboard
TOP_LEFT("top-left")
The top left corner of the text is placed closest to the anchor.
TOP_RIGHT
Link copied to clipboard
TOP_RIGHT("top-right")
The top right corner of the text is placed closest to the anchor.
BOTTOM_LEFT
Link copied to clipboard
BOTTOM_LEFT("bottom-left")
The bottom left corner of the text is placed closest to the anchor.
BOTTOM_RIGHT
Link copied to clipboard
BOTTOM_RIGHT("bottom-right")
The bottom right corner of the text is placed closest to the anchor.

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
fun finalize()
getDeclaringClass
Link copied to clipboard
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
val name: String
ordinal
Link copied to clipboard
val ordinal: Int
value
Link copied to clipboard
open override val value: String
String value of this property