textLayoutOrientation(at:)
Returns the layout orientation at the location you specify.
Declaration
optional func textLayoutOrientation(at location: any NSTextLocation) -> NSTextSelectionNavigation.LayoutOrientationParameters
- location:
The location where you want to examine the text’s layout orientation.
Return Value
Returns an NSTextSelectionNavigation.LayoutOrientation that describes the orientation of the layout.