It appears the only way to clear a region from a canvas is to use the clearRect() command - I need to clear a circle (I am masking out areas from a filled canvas, point ligh
Use canvas.getContext("2d").arc(...) to draw a circle over the area with the background colour?
canvas.getContext("2d").arc(...)
var canvas = document.getElementById("myCanvas"); var context = canvas.getContext("2d"); context.arc(x, y, r, 0, 2*Math.PI, false); context.fillStyle = "#FFFFFF"; context.fill();