arcTo

fun arcTo(rx: Number, ry: Number, xAxisRotation: Number, largeArcFlag: Int, sweepFlag: Int, x: Number, y: Number): PathBuilder

Adds an elliptical arc command (A) to the path, which draws an arc to the specified absolute coordinates.

Parameters

rx

The x-axis radius of the ellipse.

ry

The y-axis radius of the ellipse.

xAxisRotation

The rotation of the ellipse's x-axis, in degrees.

largeArcFlag

The large-arc flag (1 for large arc, 0 for small arc).

sweepFlag

The sweep flag (1 for clockwise, 0 for counterclockwise).

x

The x-coordinate of the end point.

y

The y-coordinate of the end point.