Rect::Area

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

Area returns the area of the rectangle using the equation:

   Width() * Height()

Note : Keep in mind that the Width of the rectangle is x2 - x1 and the Height is y2 - y1.

Return Value

The area of the local rectangle.