HorizontalTextAlignment
public enum HorizontalTextAlignment : String, Codable
The desired horizontal position of the text inside the bounds specified
-
Align the text against the left side of the bounding rectangle
Declaration
Swift
case left
-
Align the text in the center of the bounding rectangle
Declaration
Swift
case center
-
Align the text against the right hand side of the bounding rectangle
Declaration
Swift
case right
-
Align the text against the left side of the bounding rectangle keeping the right hand side aligned against the same vertical line
Declaration
Swift
case justified