arc

abstract fun arc(center: Point, radius: Double, sweep: Measure<Angle>, rotation: Measure<Angle>, fill: Paint)

Fills an arc centered at the given point and swept by the given angle.

Parameters

center

point for arc

sweep

of the arc

fill

to fill with


abstract fun arc(center: Point, radius: Double, sweep: Measure<Angle>, rotation: Measure<Angle>, stroke: Stroke, fill: Paint? = null)

Fills and outlines an arc centered at the given point and swept by the given angle.

Parameters

center

point for arc

sweep

of the arc

stroke

to outline with

fill

to fill with