arcTo

abstract fun arcTo(point: Point, xRadius: Double, yRadius: Double, rotation: Measure<Angle> = 0 * degrees, largeArch: Boolean, sweep: Boolean): PathBuilder

Draws an elliptic curve (described here) from the current point to this one.

Parameters

point

to end at

xRadius

of the ellipse

yRadius

of the ellipse

rotation

of the ellipse

largeArch

if the arc should have an arc greater than or less than 180°

sweep

determines if the arc should begin moving at positive angles or negative ones


open fun arcTo(point: Point, radius: Double, rotation: Measure<Angle> = 0 * degrees, largeArch: Boolean, sweep: Boolean): PathBuilder

Draws a circular curve (described here) from the current point to this one.

Parameters

point

to end at

radius

of the circle

rotation

of the ellipse

largeArch

if the arc should have an arc greater than or less than 180°

sweep

determines if the arc should begin moving at positive angles or negative ones