# Drawing API - Overlap

**URL:** https://forum.kirupa.com/t/drawing-api-overlap/323331
**Category:** flash
**Created:** [June 26, 2011, 4:59am UTC](https://forum.kirupa.com/t/drawing-api-overlap/323331 "2011-06-26T04:59:02Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![four4swords](https://avatars.discourse-cdn.com/v4/letter/f/87869e/32.png) [@four4swords](https://forum.kirupa.com/u/four4swords)
#### Post date: [June 26, 2011, 4:59am UTC](https://forum.kirupa.com/t/drawing-api-overlap/323331/1 "2011-06-26T04:59:02Z")

</div>

Hi,

Is it possible to subtract shapes from a filled region?  
I’ve done this:

```auto
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?
