Type Alias

CGFloat

The basic type for all floating-point values.

Declaration

iOS, macOS, Mac Catalyst, tvOS
typedef double CGFloat;
watchOS
typedef float CGFloat;

See Also

Geometry

NSPoint

A point in a Cartesian coordinate system.

NSSize

A two-dimensional size.

NSRect

A rectangle.

NSAffineTransform

A graphics coordinate transformation.

NSEdgeInsets

A description of the distance between the edges of two rectangles.