arc

inline fun arc(center: Point, radius: Float, startDegrees: Float, endDegrees: Float, clockwise: Boolean = true)

Adds the specified arc to the path as a new contour.

Parameters

center

The center of the arc

radius

The radius of the arc

startDegrees

The angle to the starting point of the arc

endDegrees

The angle to the end point of the arc

clockwise

true to make a clockwise arc; false to make a counterclockwise arc