Contents

alignmentMode

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

Declaration

var alignmentMode: CATextLayerAlignmentMode { get set }

Discussion

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

See Also

Text Alignment and Truncation