Instance Property

layoutOrientation

The default layout orientation.

Required.

Declaration

var layoutOrientation: NSLayoutManager.TextLayoutOrientation { get }

Discussion

This property contains the default layout orientation for text in the object that adopts the protocol. If the text contains an explicit verticalGlyphForm attribute, that attribute overrides the value in this property. When rendering, TextKit assumes the coordinate system is appropriately rotated.