Question:After experimenting with composite operations and drawing images on the canvas I’m now trying to remove images and compositing. How do I do this?
I need to clear the canvas for redrawing other images; this can go on for a while so I don’t think drawing a new rectangle every time will be the most efficient option.
Best Answer:Given that
canvasis a canvas element or an
If you have better answer, please add a comment about this, thank you!