Rect
Create a rectangle record
Declaration
Source position: types.pp line 331
  function Rect(Left: Integer; Top: Integer; Right: Integer; 
               Bottom: Integer) : TRect;
Description
Rect returns a rectangle structure with the 4 members Left, Top, Right and Bottom as passed in the arguments.
See also
| Name | Description | 
|---|---|
| Bounds | Create a rectangle, given a position and size | 
| InflateRect | Increase the rectangle in size, keeping it centered | 
| IntersectRect | Return the intersection of 2 rectangles | 
| IsRectEmpty | Check whether a rectangle is empty | 
| OffsetRect | Offset the rectangle | 
| PtInRect | Check whether a point is inside a rectangle. | 
| Size | Return the size of the rectangle | 
| UnionRect | Return the union of 2 rectangles. |