help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Constants][Types][Classes][Procedures and functions][Variables] Reference for unit 'Objects' (#rtl)

TRect

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Describes a rectangular region in a plane.

Declaration

Source position: objects.pp line 233

type TRect = object

  A: TPoint;

  

Top left corner of rectangle

  B: TPoint;

  

Bottom right corner of rectangle

  function Empty;

  

Is the surface of the rectangle zero

  function Equals();

  

Do the corners of the rectangles match

  function Contains();

  

Determine if a point is inside the rectangle

  procedure Copy();

  

Copy cornerpoints from another rectangle.

  procedure Union();

  

Enlarges rectangle to encompas another rectangle.

  procedure Intersect();

  

Reduce rectangle to intersection with another rectangle

  procedure Move();

  

Move rectangle along a vector.

  procedure Grow();

  

Expand rectangle with certain size.

  procedure Assign();

  

Set rectangle corners.

end;

Inheritance

TRect

  

Describes a rectangular region in a plane.

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505