GPFramedRect

Unit : GPShapesUnit
Association : GPFramedRectAsn
Inherits from : GPBoxBoundedShape, GPShape

Description

A framed rectangle

Public Interface

CONSTRUCTOR Init;
Initializes a GPFramedRect with (0,0) for both corner.

CONSTRUCTOR InitWithPoints (topLeft, bottomRight: GPPoint);
Initializes a GPFramedRect with corners topLeft and bottomRight.

CONSTRUCTOR InitWithSize (topLeft: GPPoint; width, height: integer);
Initializes a GPFramedRect with top left corner and dimensions, start and end angles.

CONSTRUCTOR InitWithCoords (leftX, topY, rightX, bottomY: integer);
Initializes a GPFramedRect with coordinates, start and end angles.

DESTRUCTOR Destroy; VIRTUAL;
Destroys a GPFramedRect.

PROCEDURE Copy: GPShapeAsn; VIRTUAL;
Produce a copy of the GPFramedRect.

PROCEDURE CopyAsGPFramedRect: GPFramedRectAsn;
Produce a copy of the GPFramedRect.

FUNCTION Equal(other : GPFramedRect): 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 .


GP Home Page GP Documentation
Loring Holden