RectSegment Class Documentation

classRectSegment : Segment

Namespace:com::datalogics::PDFL

Inherits from:
Segment

Detailed Description

A rectangle path operator. RectSegment represents a single path, or line, within a rectangle, with coordinates xy, xy for the beginning and end of the line.

Uses types

Constructor & Destructor Documentation

RectSegment

RectSegment(doublex, doubley, doublewidth, doubleheight)

Parameters

x: double

the left edge of the rectangle.

y: double

the right edge of the rectangle.

width: double

the width of the rectangle.

height: double

the height of the rectangle.

Append a rectangle to the current path as a complete subpath, with lower-left corner (x, y) and dimensions width and height in user space.

RectSegment

RectSegment(Pointpoint, doublewidth, doubleheight)

Parameters

point: Point

the lower left corner of the rectangle.

width: double

the width of the rectangle.

height: double

the height of the rectangle.

Append a rectangle to the current path as a complete subpath, with lower-left corner point and dimensions width and height in user space.

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

finalize

voidfinalize()

Returns:

void

getHeight

doublegetHeight()

Returns:

double

The height of the rectangle.

getPoint

PointgetPoint()

Returns:

Point

The lower left corner of the rectangle.

getWidth

doublegetWidth()

Returns:

double

The width of the rectangle.

setHeight

voidsetHeight(doublevalue)

Parameters

value: double

Returns:

void

The height of the rectangle.

setPoint

voidsetPoint(Pointvalue)

Parameters

value: Point

Returns:

void

The lower left corner of the rectangle.

setWidth

voidsetWidth(doublevalue)

Parameters

value: double

Returns:

void

The width of the rectangle.

toString

StringtoString()

Returns:

String