首页 新闻 会员 周边 捐助

how to clear the text in canvas,html5

0
[待解决问题]

I need to write a function on canvas just like the function of tooltip.but when i draw a tip with fillText() function ,the mouse move out ,how can i clear the text i just drawed.I figured out if I recorded the position where the text drawed,then maybe i can clear it using clearRect().still I wonder if there is a better choice?

七月天青的主页 七月天青 | 菜鸟二级 | 园豆:205
提问于:2011-11-07 21:08
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册