Structure

CGPoint

A structure that contains a point in a two-dimensional coordinate system.

Declaration

typedef struct CGPoint {
    ...
} CGPoint;

Topics

Comparing Points

CGPointEqualToPoint

Returns whether two points are equal.

Instance Properties

x

The x-coordinate of the point.

y

The y-coordinate of the point.

See Also

Geometric Data Types

CGSize

A structure that contains width and height values.

CGRect

A structure that contains the location and dimensions of a rectangle.

CGVector

A structure that contains a two-dimensional vector.

CGAffineTransform

An affine transformation matrix for use in drawing 2D graphics.