- x-point
- y-point
- radius
- starting angle
- ending angle
- direction of the arc x and y point define the center of the circle. Radius is for the distance from the center point and direction can be clockwise (false) or anticlockwise (true). In this example radius is 10 and last argument is clockwise (false).
See the Pen arc() method 1) by AnuVi (@AnuVi) on CodePen.
In this example I changed the anticlockwise to true and radius is 50.See the Pen arc() method 2) by AnuVi (@AnuVi) on CodePen.
More info HTML5 Canvas Arc Tutorial