Property:
arc:
100,75,50,0*Math.PI,1.5*Math.PI
100,75,50,0.1*Math.PI,1.5*Math.PI
100,75,50,0.2*Math.PI,1.5*Math.PI
100,75,50,0.5*Math.PI,1.5*Math.PI
100,75,50,1*Math.PI,1.5*Math.PI
Canvas:
your browser does not support the canvas tag
Code:
var c = document.getElementById('myCanvas');
var ctx = c.getContext('2d');
ctx.beginPath();
ctx.arc(
100, 75, 50, 0 * Math.PI, 1.5 * Math.PI)
;
ctx.stroke();
Click the property values above to see the result
W3Schools.com
- Play it