Hi,
Is it possible to subtract shapes from a filled region?
I’ve done this:
graphics.lineStyle(0,0x000000);
graphics.beginFill(0x000000,.9);
graphics.drawRect(0,0,600,400);
graphics.drawCircle(200,200,50);
graphics.drawCircle(260,200,50);
It first draws a 90% alpha-ed fill across the stage. Then the “drawCircle()” comes in and subtracts that certain area out of the rectangle. But anoter circle that overlaps with the first circle will result in a gap that has 90% alpha-ed fill.
Is there anyway to make it so any overlapping regions do not fill?