鲜荣彬
Herry
摘要: var dom = document.getElementById('canvasItem'), ctx = dom.getContext('2d'); //坐标位置默认基于 浏览器窗口(0,0),此时居中,基于 当前坐标系 //x轴 向右,y轴向下 ctx.beginPath(); ctx.moveTo(100,350); //只是将坐标移到某点 ... 阅读全文
posted @ 2017-03-08 22:52 Herry彬 阅读(518) 评论(0) 推荐(0) 编辑