Bounds¶
Create a rectangle, given a position and size.
Declaration¶
Source position: types.pp line 539
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 |
|---|---|
| Rect | Create a rectangle record. |
| PtInRect | Check whether a point is inside a rectangle. |
| IntersectRect | Return the intersection of 2 rectangles. |
| UnionRect | Return the union of 2 rectangles. |