quadraticBezierTo

quadraticBezierTo(Point2D.Float point1, Point2D.Float point2) function

Adds quadratic Bezier curve at the end the path

Parameters

NameTypeDescription
point1Point2D.FloatDirection point
point2Point2D.FloatEnd point

quadraticBezierTo(float x1, float y1, float x2, float y2) function

Adds quadratic Bezier curve at the end the path

Parameters

NameTypeDescription
x1floatX coordinate of direction point
y1floatY coordinate of direction point
x2floatX coordinate of end point
y2floatY coordinate of end point

quadraticBezierTo(Point2D.Float point1, Point2D.Float point2, long index) function

Adds quadratic Bezier curve to the specified place of the path

Parameters

NameTypeDescription
point1Point2D.FloatDirection point
point2Point2D.FloatEnd point
indexlongIndex of segment in PathData

Error

ErrorCondition
ArgumentOutOfRangeExceptionSegment index is out of PathData range

quadraticBezierTo(float x1, float y1, float x2, float y2, long index) function

Adds quadratic Bezier curve to the specified place of the path

Parameters

NameTypeDescription
x1floatX coordinate of direction point
y1floatY coordinate of direction point
x2floatX coordinate of end point
y2floatY coordinate of end point
indexlongIndex of segment in PathData

Error

ErrorCondition
ArgumentOutOfRangeExceptionSegment index is out of PathData range