TextAnchor
public enum TextAnchor : String, Codable, CaseIterable
Part of the text placed closest to the anchor.
-
The center of the text is placed closest to the anchor.
Declaration
Swift
case center = "center"
-
The left side of the text is placed closest to the anchor.
Declaration
Swift
case left = "left"
-
The right side of the text is placed closest to the anchor.
Declaration
Swift
case right = "right"
-
The top of the text is placed closest to the anchor.
Declaration
Swift
case top = "top"
-
The bottom of the text is placed closest to the anchor.
Declaration
Swift
case bottom = "bottom"
-
The top left corner of the text is placed closest to the anchor.
Declaration
Swift
case topLeft = "top-left"
-
The top right corner of the text is placed closest to the anchor.
Declaration
Swift
case topRight = "top-right"
-
The bottom left corner of the text is placed closest to the anchor.
Declaration
Swift
case bottomLeft = "bottom-left"
-
The bottom right corner of the text is placed closest to the anchor.
Declaration
Swift
case bottomRight = "bottom-right"