CurveToV Class Documentation
classCurveToV : SegmentNamespace:com::datalogics::PDFL
- Inherits from:
Segment
Detailed Description
A curveto operator where the first control point matches the beginning. The current point is the beginning point in the curve.
The name CurveToV is drawn from the "V" path construction operator.
Uses types
Constructor & Destructor Documentation
CurveToV
CurveToV(doublex2, doubley2, doublex3, doubley3)Parameters
x2: doubleThe x-coordinate of the second control point.
y2: doubleThe y-coordinate of the second 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 the current point and (x2, y2) as the Bézier control points.The new current point is (x3 ,y3).
CurveToV
Parameters
Append a cubic Bézier curve to the current path.The curve extends from the current point to point3, using the current point and point2 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:
voidgetPoint2
PointgetPoint2()Returns:
PointThe second control point.
getPoint3
PointgetPoint3()Returns:
PointThe new current point.
setPoint2
voidsetPoint2(Pointvalue)Parameters
value: Point
Returns:
voidThe second control point.
setPoint3
voidsetPoint3(Pointvalue)Parameters
value: Point
Returns:
voidThe new current point.
toString
StringtoString()Returns:
String