A Boolean value indicating whether the view uses a flipped coordinate system.
SDK
- macOS 10.0+
Framework
- App
Kit
Declaration
var isFlipped: Bool { get }
Discussion
The default value of this property is false
, which results in a non-flipped coordinate system. In a non-flipped coordinate system, the origin is in the lower-left corner of the view and positive y-values extend upward. In a flipped coordinate system, the origin is in the upper-left corner of the view and y-values extend downward. X-values always extend to the right.
If you want your view to use a flipped coordinate system, override this property and return true
.