# getColorBoundsRect

**URL:** <https://forum.kirupa.com/t/getcolorboundsrect/323178>\
**Category:** flash\
**Created:** [June 20, 2011, 4:57am UTC](https://forum.kirupa.com/t/getcolorboundsrect/323178 "2011-06-20T04:57:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![stii](https://avatars.discourse-cdn.com/v4/letter/s/7bcc69/32.png) [@stii](https://forum.kirupa.com/u/stii)\
**Post date:** [June 20, 2011, 4:57am UTC](https://forum.kirupa.com/t/getcolorboundsrect/323178/1 "2011-06-20T04:57:57Z")

</div>

Hi Everyone,

I have a question. I have a BitmapData with 2 red circles. I want to find the rectangle area or each circle. If i use \*\*getColorBoundsRect \*\* I get the smallest area enclosed by the 2 circles.

How can i go about this and get individual area of the circles?  
below is a diagram i created to better explain my question  
[![](http://img831.imageshack.us/img831/3360/sampleja.th.png)](http://imageshack.us/photo/my-images/831/sampleja.png/)

previously this question was asked before but don’t quite understand  
how the provided solution solved the problem.  
[http://www.kirupa.com/forum/showthread.php?324586-Question-to-getColorBoundsRect](http://www.kirupa.com/forum/showthread.php?324586-Question-to-getColorBoundsRect)

hope someone here can shed some light for me. Thanks a million.
