[Overview][Types][Procedures and functions][Index] |
Moves the specified rectangle to the origin in the x and y arguments.
Source position: graphmath.pp line 84
procedure MoveRect( |
var ARect: TRect; |
x: Integer; |
y: Integer |
); |
ARect |
|
TRect instance updated in the routine. |
x |
|
New position for the Top coordinate in the rectangle. |
y |
|
New position for the Left coordinate in the rectangle. |
MoveRect sets the Left and Top members in ARect to the values specified in x and y (respectively). The Right and Bottom members in ARect are updated to reflect the relative distance from the original Top and Left on entry.
Added in LazUtils version 3.0.
Version 4.0 | Generated 2025-05-03 | Home |