会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
赵冠磊
博客园
首页
新随笔
联系
订阅
管理
2017年12月6日
2017/12/6 canvas清空页面的三种办法
摘要: 1.clearRect()方法 clearRect(x1,y1,width,height) 2.重设宽或高 context.height = context.height; 3.用颜色覆盖 context.fillRect(0,0,context.widht,context.height);
阅读全文
posted @ 2017-12-06 09:10 赵冠磊
阅读(1677)
评论(0)
推荐(0)
公告