TRect record
Rectangle in a plane.
Declaration
TRect = packed recordDescription
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
Height | public | |
Width | public | |
Size | public | |
Location | public |
Methods
Create | public | |
equal(TRect,TRect):Boolean | public | |
notequal(TRect,TRect):Boolean | public | |
add(TRect,TRect):TRect | public | |
multiply(TRect,TRect):TRect | public | |
Empty | public | |
NormalizeRect | public | |
IsEmpty | public | |
Contains | public | |
IntersectsWith | public | |
Intersect | public | |
Union | public | |
Offset | public | |
SetLocation | public | |
Inflate | public | |
CenterPoint | public | |
SplitRect | public |
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
