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?