Contents

textLayoutOrientation(at:)

Returns the layout orientation at the location you specify.

Declaration

optional func textLayoutOrientation(at location: any NSTextLocation) -> NSTextSelectionNavigation.LayoutOrientation

Parameters

  • 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.

See Also

Changing the characteristics of the selection