Determines whether the text is wrapped to fit within the receiver’s bounds.
SDKs
- iOS 3.2+
- macOS 10.5+
- Mac Catalyst 13.0+
- tvOS 9.0+
Framework
- Core Animation
Declaration
var isWrapped: Bool { get set }
Discussion
Defaults to false
.
Determines whether the text is wrapped to fit within the receiver’s bounds.
SDKs
Framework
var isWrapped: Bool { get set }
Defaults to false
.
var alignment Mode: CAText Layer Alignment Mode
Determines how individual lines of text are horizontally aligned within the receiver’s bounds.
var truncation Mode: CAText Layer Truncation Mode
Determines how the text is truncated to fit within the receiver’s bounds.