| [Overview][Constants][Types][Classes][Procedures and functions][Index] | 
Offset the rectangle
Source position: types.pp line 338
function OffsetRect(  | 
var Rect: TRect;  | 
DX: Integer;  | 
DY: Integer  | 
):Boolean;  | 
OffsetRect offsets the rectangle Rect by a horizontal distance DX and a vertical distance DY. The operation returns True if the operation was successful, false if it was not (only possible if the address of Rect is Nil).
  | 
Check whether a point is inside a rectangle.  | 
|
  | 
Return the intersection of 2 rectangles  | 
|
  | 
Check whether a rectangle is empty  | 
|
  | 
Offset the rectangle  | 
|
  | 
Increase the rectangle in size, keeping it centered  | 
|
  | 
Return the size of the rectangle  | 
|
  | 
Check whether a rectangle is empty  |