Contents

CGRectNull

The null rectangle, representing an invalid value.

Declaration

let CGRectNull: CGRect

Discussion

This is the rectangle returned when, for example, you intersect two disjoint rectangles. Note that the null rectangle is not the same as the CGRectZero rectangle. For example, the union of a rectangle with the null rectangle is the original rectangle (that is, the null rectangle contributes nothing).

See Also

Constants