Rect::IsNull

Rect::IsNull
inline bool IsNull() const;
Description

IsNull determines whether a rectangle is NULL. The following expression is used to determine this result:

   (x2 == x1) && (y2 == y1)

Note 

This null state only applies to normal rectangles. Normal rectangles can be represented by the following expression:

   (x2 >= x1) && (y2 >= y1)
Return Value

A Boolean value of 1 (true) if the rectangle is NULL and 0 (false) if it is not.

See Also