Property:
arc:
100,75,50,1.2*Math.PI,1.8*Math.PI
100,75,50,1.2*Math.PI,1.8*Math.PI,true
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,1.2*Math.PI,1.8*Math.PI)
;
ctx.stroke();
单击上面的属性值可查看结果
cainiaomax.com
- 测试工具