摘要: 画弧: 其中:ctx.arc(position-x,position-y,radius,begin arc,end arc,clockwise); 注意,开始角度为pi/2;如下图所示; ctx.stroke();//描边 ctx.fill();//填充 画一个梯形: 常用属性: 位置相关:ctx. 阅读全文
posted @ 2017-02-25 15:19 alhu 阅读(179) 评论(0) 推荐(0) 编辑