pub type NSPoint = CGPoint;
Available on crate features
NSGeometry
and objc2-core-foundation
only.Expand description
A point in a Cartesian coordinate system.
This is a convenience alias for CGPoint
. For ease of use, it is
available on all platforms, though in practice it is only useful on macOS.
Aliased Type§
struct NSPoint {
pub x: f32,
pub y: f32,
}
Fields§
§x: f32
The x-coordinate of the point.
y: f32
The y-coordinate of the point.