add Arc
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.
start Angle
start angle of the arc.
sweep Angle
sweep angle of the arc.