Sign in Join
FPDoc Onlineexperiment

Bounds function

In unit Types

Create a rectangle, given a position and size.

Declaration

pascal
function Bounds(ALeft: Integer; ATop: Integer; AWidth: Integer; 
 AHeight: Integer): TRect

Description

Bounds returns a TRect structure with the indicated position ( Left=ALeft and Top=ATop) and size ( Right=ALeft+AWidth and Bottom=ATop+AHeight)

See also

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