Rect::CheckedWidth

Rect::CheckedWidth
inline T CheckedWidth() const;
Description

CheckedWidth returns the width of the local rectangle for normal coordinates. If the coordinates are non-normal (x2 < x1), a zero is returned. 

Note 

The width of a rectangle is determined by the equation: x2 - x1.

Return Value

A UIntF value representing the width of the local rectangle.

See Also