MoveTo Class Documentation

classMoveTo : Segment

Namespace:com::datalogics::PDFL

Inherits from:
Segment

Detailed Description

An operator that creates a path by moving to a new current position. A LineTo operator creates an addition to a path element by moving to the (x,y) coordinates specified in the MoveTo statement. The MoveTo coordinates serve as the new current position, and from here a new path element can start.

For example, the MoveTo coordinates can define the starting position for a LineTo operator. The LineTo operator draws a straight line from the current position (MoveTo) to a new position, the set of (x,y) coordinates defined with the LineTo operator: MoveTo{x:0 y:50} LineTo{x:100 y:100}

Uses types

Constructor & Destructor Documentation

MoveTo

MoveTo(doublex, doubley)

Parameters

x: double
y: double

Move to a new current point.Begin a new subpath by moving the current point to coordinates x, y, omitting any connecting line segment.If the previous path segment in the current path was also a MoveTo, the new m overrides it; no vestige of the previous MoveTo operation remains in the path.

MoveTo

MoveTo(PointnewCurrentPoint)

Parameters

newCurrentPoint: Point

Move to a new current point.Begin a new subpath by moving the current point to a new point, omitting any connecting line segment.If the previous path segment in the current path was also a MoveTo, the new m overrides it; no vestige of the previous MoveTo operation remains in the path.

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