PathBuilder.htmlArcTo

void htmlArcTo(float x1, float y1, float x2, float y2, float radius)

Implements arc-to according to the HTML Canvas spec.

A convenience function that implements the

HTML arc_to

functionality.

After this, the current point will be the point where the circle with the given radius touches the line from x1, y1 to x2, y2.

Parameters

x1X coordinate of first control point
y1Y coordinate of first control point
x2X coordinate of second control point
y2Y coordinate of second control point
radiusRadius of the circle