Instance Property

alignmentMode

Determines how individual lines of text are horizontally aligned within the receiver’s bounds.

Declaration

var alignmentMode: String { get set }

Discussion

The possible values are described in Horizontal alignment modes. Defaults to kCAAlignmentNatural.

See Also

Text Alignment and Truncation

var isWrapped: Bool

Determines whether the text is wrapped to fit within the receiver’s bounds.

var truncationMode: String

Determines how the text is truncated to fit within the receiver’s bounds.