[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Returns a TRect structure with the bounding rect of the given location and size.
Source position: classesh.inc line 2086
function Bounds( |
ALeft: Integer; |
ATop: Integer; |
AWidth: Integer; |
AHeight: Integer |
):TRect; |
Bounds returns a TRect record with the given origin (ALeft,ATop) and dimensions (AWidth,AHeight) filled in. The bottom-right corner is calculated by adding AWidth to ALeft and AHeight to ATop. As a result, a rectangle with width/height set to 0 is exactly 1 pixel.
|
Returns a TRect record with the given coordinates. |