Initializer

init()

Creates a rectangle with origin (0,0) and size (0,0).

Declaration

init()

See Also

Special Values

static let infinite: CGRect

A rectangle that has infinite extent.

static let null: CGRect

The null rectangle, representing an invalid value.

static var zero: CGRect

The rectangle whose origin and size are both zero.