Instance Property

isWrapped

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

Declaration

var isWrapped: Bool { get set }

Discussion

Defaults to false.

See Also

Text Alignment and Truncation

var alignmentMode: CATextLayerAlignmentMode

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

var truncationMode: CATextLayerTruncationMode

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