Is it possible to draw with transparency like you would draw with any colour?
For example if i'm using a createGraphics()
you can use clear()
to make the canvas transparent, but what if I wanted to draw a black background with a see-through hole in the middle (draw a "transparent filled" ellipse that cuts through?).