Instance Property

origin

A point that specifies the coordinates of the rectangle’s origin.

Declaration

var origin: CGPoint

See Also

Basic Geometric Properties

var size: CGSize

A size that specifies the height and width of the rectangle.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software