quadraticBezierTo

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

Adds quadratic Bezier curve at the end the path

Parameters

NameTypeDescription
point1Point2D.FloatDirection point
point2Point2D.FloatEnd point

Returns

void


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

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

Returns

void


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

Adds quadratic Bezier curve to the specified place of the path

Parameters

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

Returns

void

Exception

ExceptionCondition
ArgumentOutOfRangeExceptionSegment index is out of PathData range

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

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

Returns

void

Exception

ExceptionCondition
ArgumentOutOfRangeExceptionSegment index is out of PathData range