Contents

isWrapped

A Boolean value that specifies whether SceneKit wraps long lines of text.

Declaration

var isWrapped: Bool { get set }

Discussion

When you define a layout rectangle for the text using its containerFrame property, SceneKit uses the isWrapped property to determine whether each line of text that is wider than the layout rectangle automatically wraps onto the next line.

The default value of this property is false, specifying that long lines of text do not wrap. (If you specify a container frame, long lines of text extend beyond its width.)

See Also

Managing Text Layout