ctx.arc(100, 200, 50, 0, Math.PI, true);
ctx.stroke();
ctx.beginPath(); //绘制带有填充的圆弧...;
//ctx.stroke();
ctx.beginPath(); //绘制带有边框和填充的圆弧
ctx.arc(390, 200, 50, 0, Math.PI...绘制图像
drawImage(img, x, y, width, height);-->
绘制图像图像,要这样子做
{
ctx.drawImage(img, 30, 30);//图像原大小