Function IntRect.IsValid

IsValid ()

Returns if this rectangle is valid.

Public
bool IsValid ()

Returns if this rectangle is valid.

An invalid rect could have e.g xmin > xmax. Rectangles are valid iff they contain at least one point.