摘要: JS Bin 做一条直线(js代码):var myCanvas = document.getElementById('myCanvas');var ctx = myCanvas.getContext('2d');ctx.moveTo(1,1);ctx.lineTo(20,30);ctx.strok... 阅读全文
posted @ 2014-06-10 10:39 Western Journey 阅读(208) 评论(0) 推荐(0)