Horizontal alignment modes

These constants are used by the alignmentMode property.

Topics

Constants

let kCAAlignmentNatural: String

Use the natural alignment of the text’s script.

let kCAAlignmentLeft: String

Text is visually left aligned.

let kCAAlignmentRight: String

Text is visually right aligned.

let kCAAlignmentCenter: String

Text is visually center aligned.