Sign in Join
FPDoc Onlineexperiment

Rect function

In unit Classes

Returns a TRect record with the given coordinates.

Declaration

pascal
function Rect(ALeft: Integer; ATop: Integer; ARight: Integer; 
 ABottom: Integer): TRect

Description

Rect returns a TRect record with the given top-left (ALeft,ATop) and bottom-right (ABottom,ARight) corners filled in.

No checking is done to see whether the coordinates are valid.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.