Is it necessary to clear the last position of image while moving (HTML Canvas) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Is it necessary to clear the last position of image while moving (HTML Canvas)

I want to move an image on my canvas. I could use ctx.clearRect(),but is this really necessary?

7th Feb 2018, 4:09 PM
Manuel 48
Manuel 48 - avatar
1 Answer
0
I think, if you don't like confuse HTML page, you should do it
3rd Oct 2018, 9:11 AM
Wongvarit