wedge

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

Fills a width centered at the given point and swept by the given angle. Wedges are like arcs with their paths closed at the center point.

Parameters

center

point for arc

sweep

of the arc

fill

to fill with


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

Fills and outlines a width centered at the given point and swept by the given angle. Wedges are like arcs with their paths closed at the center point.

Parameters

center

point for arc

sweep

of the arc

stroke

to outline with

fill

to fill with