Instance Property

size

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

Declaration

var size: CGSize

See Also

Basic Geometric Properties

var origin: CGPoint

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