Sign in Join
FPDoc Onlineexperiment

TRect object

In unit Objects

Describes a rectangular region in a plane.

Declaration

pascal
TRect = class

Description

Nothing more than the line above yet.

Methods

EmptyIs the surface of the rectangle zero.
EqualsDo the corners of the rectangles match.
ContainsDetermine if a point is inside the rectangle.
CopyCopy cornerpoints from another rectangle.
UnionEnlarges rectangle to encompass another rectangle.
IntersectReduce rectangle to intersection with another rectangle.
MoveMove rectangle along a vector.
GrowExpand rectangle with certain size.
AssignSet rectangle corners.

Fields

ATop left corner of rectangle.
BBottom right corner of rectangle.

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