Sign in Join
FPDoc Onlineexperiment

TRect record

In unit Types

Rectangle in a plane.

Declaration

pascal
TRect = packed record

Description

TRect defines a rectangle in a discrete plane. It is described by the horizontal ( left, right) or vertical ( top, Bottom) positions (in pixels) of the edges, or, alternatively, by the coordinates of the top left ( TopLeft) and bottom right ( BottomRight) corners.

See also

Properties

Heightpublic
Widthpublic
Sizepublic
Locationpublic

Methods

Createpublic
equal(TRect,TRect):Booleanpublic
notequal(TRect,TRect):Booleanpublic
add(TRect,TRect):TRectpublic
multiply(TRect,TRect):TRectpublic
Emptypublic
NormalizeRectpublic
IsEmptypublic
Containspublic
IntersectsWithpublic
Intersectpublic
Unionpublic
Offsetpublic
SetLocationpublic
Inflatepublic
CenterPointpublic
SplitRectpublic

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