Structure

CGVector

A structure that contains a two-dimensional vector.

Declaration

typedef struct CGVector {
    ...
} CGVector;

Topics

Instance Properties

dx

The x component of the vector.

dy

The y component of the vector.

See Also

Geometric Data Types

CGPoint

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

CGSize

A structure that contains width and height values.

CGRect

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

CGAffineTransform

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