function canvas1(){
var canvas1 = document.getElementById("canvas1");
var context1 = canvas1.getContext("2d");
canvas1.width = 500;
canvas1.height = 500;
context1.moveTo(50,50);
context1.lineTo(50,450);
context1.lineTo(450,450);
context1.lineTo(450,50);
context1.lineTo(50,50);
context1.fillStyle = '#000';
context1.fill();
}
xiangyunlcs
2014-11-06
举报
0/150
提交
取消