| [Overview][Constants][Types][Classes][Procedures and functions][Index] | 
Create a rectangle record
Source position: types.pp line 331
function Rect(  | 
Left: Integer;  | 
Top: Integer;  | 
Right: Integer;  | 
Bottom: Integer  | 
):TRect;  | 
Rect returns a rectangle structure with the 4 members Left, Top, Right and Bottom as passed in the arguments.
  | 
Create a rectangle, given a position and size  | 
|
  | 
Check whether a point is inside a rectangle.  | 
|
  | 
Return the intersection of 2 rectangles  | 
|
  | 
Return the union 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  |