Quad Class Documentation

classQuad

Namespace:com::datalogics::PDFL

Detailed Description

Represents a quadrilateral in a program. A quadrilateral is a polygon graphic that has four sides or edges and four corners, Bottom Left, Bottom Right, Top Left, and Top Right.

Constructor & Destructor Documentation

Quad

Quad()

Creates a Quad with all points at the origin.

Quad

Quad(PointnTopLeft, PointnTopRight, PointnBottomLeft, PointnBottomRight)

Parameters

nTopLeft: Point
nTopRight: Point
nBottomLeft: Point
nBottomRight: Point

Creates a Quad from a set of 4 points.

Member Function Documentation

DisposeChildren

voidDisposeChildren()

Returns:

void

[static initializer]

static void[static initializer]()

delete

synchronized voiddelete(Booleandisposing)

Parameters

disposing: Boolean

Returns:

synchronized void

delete

synchronized voiddelete()

Returns:

synchronized void

equals

booleanequals(Objectrhs)

Parameters

rhs: Object

Returns:

boolean

finalize

voidfinalize()

Returns:

void

getBottomLeft

PointgetBottomLeft()

Returns:

Point

Bottom left corner of the Quad.

getBottomRight

PointgetBottomRight()

Returns:

Point

Bottom right corner of the Quad.

getTopLeft

PointgetTopLeft()

Returns:

Point

Top left corner of the Quad.

getTopRight

PointgetTopRight()

Returns:

Point

Top right corner of the Quad.

sameTypeEquals

booleansameTypeEquals(Quadrhs)

Parameters

rhs: Quad

Returns:

boolean

toRect

RecttoRect()

Returns:

Rect

Returns a rectangle describing the same area as the quad.

toString

StringtoString()

Returns:

String

Returns a UTF-8 string representation of the quad by calling each point's ToString function.

transform

Quadtransform(Matrixarg0)

Parameters

arg0: Matrix

Returns:

Quad

Create a new quad from the results of a Transform on each point of the Quad.