LineTo Class Documentation

classLineTo : Segment

Namespace:com::datalogics::PDFL

Inherits from:
Segment

Detailed Description

A lineto operator, which draws a straight line. A lineto operator creates a line path element. It draws a straight line from the current position (MoveTo) to a new position-a new set of (x,y) coordinates: MoveTo{x:0 y:50} LineTo{x:100 y:100}

Uses types

Constructor & Destructor Documentation

LineTo

LineTo(doublex, doubley)

Parameters

x: double
y: double

Move to a new current point.Append a straight line segment from the current point to the point (x, y).The new current point is the point the line is drawn to.

LineTo

LineTo(PointlineToPoint)

Parameters

lineToPoint: Point

Create a line to a new point.Append a straight line segment from the current point to the lineToPoint.The new current point is the point the line is drawn to.

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

getPoint

PointgetPoint()

Returns:

Point

The new current point.

setPoint

voidsetPoint(Pointvalue)

Parameters

value: Point

Returns:

void

The new current point.

toString

StringtoString()

Returns:

String