Bounds
Create a rectangle, given a position and size
Declaration
Source position: types.pp line 332
function Bounds(ALeft: Integer; ATop: Integer; AWidth: Integer;
AHeight: Integer) : TRect;
Description
Bounds returns a TRect structure with the indicated position (Left=ALeft and Top=ATop) and size (Right=ALeft+AWidth and Bottom=ATop+AHeight)
See also
| Name | Description |
|---|---|
| IntersectRect | Return the intersection of 2 rectangles |
| PtInRect | Check whether a point is inside a rectangle. |
| Rect | Create a rectangle record |
| UnionRect | Return the union of 2 rectangles. |