摘要: 绘制要点: 1.getContext('2d'); -->绘图环境,2维空间 2.fillRect(x,y,w,h); -->矩形:实心(黑色背景) 3.strokeRect(x,y,w,h); -->矩形:空心(白色背景) 4.clearRect(x,y,w,h); -->矩形:在已存在的矩形中挖 阅读全文
posted @ 2018-03-09 13:30 小欣子 阅读(640) 评论(0) 推荐(0) 编辑