摘要:
1.获取canvas画布 var canvas = document.getElementById('canvas'); var context = canvas.getContext('2d'); 2.绘制直线 context.moveTo(x0, y0); //起点 context.lineTo 阅读全文
posted @ 2016-03-29 20:39
pujianguo
阅读(357)
评论(0)
推荐(0)
浙公网安备 33010602011771号