CurveToY Class Documentation

classCurveToY : Segment

Namespace:com::datalogics::PDFL

Inherits from:
Segment

Detailed Description

A curveto operator where the second control point matches the end point. Here the new current point is the end point in the curve.

The name CurveToY is drawn from the "Y" path construction operator.

Uses types

Constructor & Destructor Documentation

CurveToY

CurveToY(doublex1, doubley1, doublex3, doubley3)

Parameters

x1: double

The x-coordinate of the first control point.

y1: double

The y-coordinate of the first control point.

x3: double

The x-coordinate of the new current point.

y3: double

The y-coordinate of the new current point.

Append a cubic Bézier curve to the current path.The curve extends from the current point to the point (x3, y3), using (x1, y1) and (x3, y3) as the Bézier control points.The new current point is (x3 ,y3).

CurveToY

CurveToY(Pointpoint1, Pointpoint3)

Parameters

point1: Point

the first control point.

point3: Point

the new current point.

Append a cubic Bézier curve to the current path.The curve extends from the current point to point3, using point1 and point3 as the Bézier control points.The new current point is point3.

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

getPoint1

PointgetPoint1()

Returns:

Point

The first control point.

getPoint3

PointgetPoint3()

Returns:

Point

The new current point.

setPoint1

voidsetPoint1(Pointvalue)

Parameters

value: Point

Returns:

void

The first control point.

setPoint3

voidsetPoint3(Pointvalue)

Parameters

value: Point

Returns:

void

The new current point.

toString

StringtoString()

Returns:

String