GPFilledRect
Unit : GPShapesUnit
Association : GPFilledRectAsn
Inherits from : GPBoxBoundedShape
Description
- A filled rectangle.
Public Interface
-
CONSTRUCTOR Init;
Initializes a GPFilledRect with (0,0) for both corners.
CONSTRUCTOR InitWithPoints (topLeft, bottomRight:
GPPoint);
Initializes a GPFilledRect with corners topLeft and bottomRight.
CONSTRUCTOR InitWithSize (topLeft: GPPoint; width,
height: integer);
Initializes a GPFilledRect with top left corner and dimensions.
CONSTRUCTOR InitWithCoords (leftX, topY, rightX,
bottomY: integer);
Initializes a GPFilledRect with coordinates.
DESTRUCTOR Destroy; VIRTUAL;
Destroys a GPFilledRect.
PROCEDURE Copy: GPShapeAsn; VIRTUAL;
Produce a copy of the GPFilledRect.
PROCEDURE CopyAsGPFilledRect: GPFilledRectAsn;
Produce a copy of the GPFilledRect.
FUNCTION Equal(other : GPFilledRect): Boolean;
Returns TRUE if the coordinates of other are the same as this instance's.
Subclasses
- None
Please report any problems with GP or the documentation to
GP Support
.
Loring Holden