addCircle

fun addCircle(x: Float, y: Float, radius: Float, dir: PathDirection = PathDirection.CLOCKWISE): PathBuilder

Adds circle centered at (x, y) of size radius to path.

Return

this builder for chaining

Parameters

x

center of circle on x-axis

y

center of circle on y-axis

radius

distance from center to edge

dir

direction to wind circle