Return to Snippet

Revision: 16998
at August 20, 2009 11:06 by linkage


Initial Code
var bounds : Rectangle = myBmpData.getColorBoundsRect(0xFFFFFFFF, 0x000000, false);

Initial URL


Initial Description
if you have a bitmapData Object with transparent content and some colored pixels, you can get the bounds for those pixels with this method

Initial Title
getColorBoundsRect in transparent Bitmap

Initial Tags


Initial Language
ActionScript 3