I’m having a canvas and its filled with some color. I have a (relatively complex) path and I want to clear the canvas where the path is. So basically there is ctx.fillRect()
and ctx.clearRect()
, there is ctx.fill()
, but whats missing is ctx.clear()
.