-
The center of the text is placed closest to the anchor.
Declaration
Swift
case center -
The left side of the text is placed closest to the anchor.
Declaration
Swift
case left -
The right side of the text is placed closest to the anchor.
Declaration
Swift
case right -
The top of the text is placed closest to the anchor.
Declaration
Swift
case top -
The bottom of the text is placed closest to the anchor.
Declaration
Swift
case bottom -
The top left corner of the text is placed closest to the anchor.
Declaration
Swift
case topLeft -
The top right corner of the text is placed closest to the anchor.
Declaration
Swift
case topRight -
The bottom left corner of the text is placed closest to the anchor.
Declaration
Swift
case bottomLeft -
The bottom right corner of the text is placed closest to the anchor.
Declaration
Swift
case bottomRight
TextAnchor Enumeration Reference