CurveToY Class Documentation
classCurveToY : SegmentNamespace: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: doubleThe x-coordinate of the first control point.
y1: doubleThe y-coordinate of the first control point.
x3: doubleThe x-coordinate of the new current point.
y3: doubleThe 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
Parameters
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 voiddelete
synchronized voiddelete()Returns:
synchronized voidfinalize
voidfinalize()Returns:
voidgetPoint1
PointgetPoint1()Returns:
PointThe first control point.
getPoint3
PointgetPoint3()Returns:
PointThe new current point.
setPoint1
voidsetPoint1(Pointvalue)Parameters
value: Point
Returns:
voidThe first control point.
setPoint3
voidsetPoint3(Pointvalue)Parameters
value: Point
Returns:
voidThe new current point.
toString
StringtoString()Returns:
String