摘要:
代码: 1 /** 2 * Created by Administrator on 2016/1/30. 3 */ 4 function draw (id){ 5 var canvas = document.getElementById(id); 6 var context = canvas.get 阅读全文
摘要:
代码: 1 /** 2 * Created by Administrator on 2016/1/30. 3 */ 4 function draw(id){ 5 var canvas = document.getElementById(id); 6 var context = canvas.getC 阅读全文
摘要:
1) 线条笔帽篇: 1 function draw (id) { 2 var canvas = document.getElementById(id); 3 context = canvas.getContext("2d"); 4 buttDemo(); 5 roundDemo(); 6 squar 阅读全文