addArc

open fun addArc(left: Float, top: Float, right: Float, bottom: Float, startAngle: Float, sweepAngle: Float)

Add an arc to the ShapePath.

Parameters

left

the X coordinate of the left side of the rectangle containing the arc oval.

top

the Y coordinate of the top of the rectangle containing the arc oval.

right

the X coordinate of the right side of the rectangle containing the arc oval.

bottom

the Y coordinate of the bottom of the rectangle containing the arc oval.

startAngle

start angle of the arc.

sweepAngle

sweep angle of the arc.