Hi,
Wonder if someone could point me in the right direction...
I have an image the size of stage which is positioned on top of various other images. I would like to overlay a small circular image in multiple places over the larger image. Where those circle images are I would like it to be a transparent hole so that you can see through the larger image. Based on previous searches on the forum I discovered the setBlendMode function, but can't seem to get the right options.
Comments
I know that is not the solution you are looking for but I think this is a good start
Likes: ar2rsawseen
[-] Liasoft
My solution involves drawing a circle (using the Arc class) over my large image, setting the circles fillStyle to solid and 0 alpha - i.e transparent. Then setting its blend mode to "noAlpha". Seems to do the trick and I can add as many circles as needed to punch more holes in my large image.
[-] Liasoft