Changes the receiver's layout orientation and invalidates the contents.
- macOS 10.7+
The text layout orientation.
NSText properties, this is not shared by sibling views. It also rotates the bounds 90 degrees, swaps horizontal and vertical bits of the
autoresizing mask, and reconfigures
is properties accordingly. Also, if
enclosing returns non-
nil, it reconfigures the horizontal and vertical ruler views, the horizontal and vertical scrollers, and the frame.