1.开始创建路径
ctx.beginPath()
2.创建圆形路径
ctx.arc(100,100,30,0,2*Math.PI,false)
3.关闭路径
ctx.closePath()
ctx.stroke()
5.填充
ctx.fill()
← canvas-矩形 认识vue.js→