User Guide
BitmapData (flash.display.BitmapData) 293
Method summary
Modifiers Signature Description
applyFilter(sourceBi
tmap:BitmapData,
sourceRect:Rectangle
, destPoint:Point,
filter:BitmapFilter)
: Number
Takes a source image and a filter object and
generates the filtered image.
clone() : BitmapData Returns a new BitmapData object that is a clone of
the original instance with an exact copy of the
contained bitmap.
colorTransform(rect:
Rectangle,
colorTransform:Color
Transform) : Void
Adjusts the color values in a specified area of a bitmap
image by using a ColorTransform object.
copyChannel(sourceBi
tmap:BitmapData,
sourceRect:Rectangle
, destPoint:Point,
sourceChannel:Number
,
destChannel:Number)
: Void
Transfers data from one channel of another
BitmapData object or the current BitmapData object
into a channel of the current BitmapData object.
copyPixels(sourceBit
map:BitmapData,
sourceRect:Rectangle
, destPoint:Point,
[alphaBitmap:BitmapD
ata],
[alphaPoint:Point],
[mergeAlpha:Boolean]
) : Void
Provides a fast routine to perform pixel manipulation
between images with no stretching, rotation, or color
effects.
dispose() : Void Frees memory that is used to store the BitmapData
object.