摘要: //在Dom中找到canvas元素然后调用HTMLCanvasObject上的getContext方法 var ctx=document.getElementById("canvas").getContext("2d"); //使用fillRect方法绘制实心矩形 strokeReact 是空心的矩 阅读全文
posted @ 2017-06-30 10:31 小女孩不懂爱 阅读(338) 评论(0) 推荐(0) 编辑