Function

CGRectIsInfinite

Returns whether a rectangle is infinite.

Declaration

bool CGRectIsInfinite(CGRect rect);

Parameters

rect

The rectangle to examine.

Return Value

Returns YES if the specified rectangle is infinite; otherwise, NO.

Discussion

An infinite rectangle is one that has no defined bounds. Infinite rectangles can be created as output from a tiling filter. For example, the Core Image framework perspective tile filter creates an image whose extent is described by an infinite rectangle.

See Also

Checking Rectangle Characteristics

CGRectIsEmpty

Returns whether a rectangle has zero width or height, or is a null rectangle.

CGRectIsNull

Returns whether the rectangle is equal to the null rectangle.