add Circle
fun addCircle(x: Float, y: Float, radius: Float, dir: PathDirection = PathDirection.CLOCKWISE): Path
Adds circle centered at (x, y) of size radius to Path, appending PathVerb.MOVE, four PathVerb.CONIC, and PathVerb.CLOSE. Circle begins at: (x + radius, y)
Has no effect if radius is zero or negative.
Return
reference to Path
Parameters
x
center of circle
y
center of circle
radius
distance from center to edge