BitmapData
extern class flash.display.BitmapDataimplements IBitmapDrawableAvailable in flash9
var height(default,null) : Int
var rect(default,null) : Rectangle
var transparent(default,null) : Bool
var width(default,null) : Int
function new( width : Int, height : Int, ?transparent : Bool, ?fillColor : UInt ) : Void
function applyFilter( sourceBitmapData : BitmapData, sourceRect : Rectangle, destPoint : Point, filter : BitmapFilter ) : Void
function clone() : BitmapData
function colorTransform( rect : Rectangle, colorTransform : ColorTransform ) : Void
function compare( otherBitmapData : BitmapData ) : Dynamic
function copyChannel( sourceBitmapData : BitmapData, sourceRect : Rectangle, destPoint : Point, sourceChannel : BitmapDataChannel, destChannel : BitmapDataChannel ) : Void
function copyPixels( sourceBitmapData : BitmapData, sourceRect : Rectangle, destPoint : Point, ?alphaBitmapData : BitmapData, ?alphaPoint : Point, ?mergeAlpha : Bool ) : Void
function dispose() : Void
function draw( source : IBitmapDrawable, ?matrix : Matrix, ?colorTransform : ColorTransform, ?blendMode : BlendMode, ?clipRect : Rectangle, ?smoothing : Bool ) : Void
function fillRect( rect : Rectangle, color : UInt ) : Void
function floodFill( x : Int, y : Int, color : UInt ) : Void
function generateFilterRect( sourceRect : Rectangle, filter : BitmapFilter ) : Rectangle
function getColorBoundsRect( mask : UInt, color : UInt, ?findColor : Bool ) : Rectangle
function getPixel( x : Int, y : Int ) : UInt
function getPixel32( x : Int, y : Int ) : UInt
function getPixels( rect : Rectangle ) : ByteArray
function getVector( rect : Rectangle ) : Vector<UInt>
function histogram( ?hRect : Rectangle ) : Vector<Float>
function hitTest( firstPoint : Point, firstAlphaThreshold : UInt, secondObject : Dynamic, ?secondBitmapDataPoint : Point, ?secondAlphaThreshold : UInt ) : Bool
function lock() : Void
function merge( sourceBitmapData : BitmapData, sourceRect : Rectangle, destPoint : Point, redMultiplier : UInt, greenMultiplier : UInt, blueMultiplier : UInt, alphaMultiplier : UInt ) : Void
function noise( randomSeed : Int, ?low : UInt, ?high : UInt, ?channelOptions : UInt, ?grayScale : Bool ) : Void
function paletteMap( sourceBitmapData : BitmapData, sourceRect : Rectangle, destPoint : Point, ?redArray : Array<Int>, ?greenArray : Array<Int>, ?blueArray : Array<Int>, ?alphaArray : Array<Int> ) : Void
function perlinNoise( baseX : Float, baseY : Float, numOctaves : UInt, randomSeed : Int, stitch : Bool, fractalNoise : Bool, ?channelOptions : UInt, ?grayScale : Bool, ?offsets : Array<Point> ) : Void
function pixelDissolve( sourceBitmapData : BitmapData, sourceRect : Rectangle, destPoint : Point, ?randomSeed : Int, ?numPixels : Int, ?fillColor : UInt ) : Int
function scroll( x : Int, y : Int ) : Void
function setPixel( x : Int, y : Int, color : UInt ) : Void
function setPixel32( x : Int, y : Int, color : UInt ) : Void
function setPixels( rect : Rectangle, inputByteArray : ByteArray ) : Void
function setVector( rect : Rectangle, inputVector : Vector<UInt> ) : Void
function threshold( sourceBitmapData : BitmapData, sourceRect : Rectangle, destPoint : Point, operation : String, threshold : UInt, ?color : UInt, ?mask : UInt, ?copySource : Bool ) : UInt
function unlock( ?changeRect : Rectangle ) : Void
version #1817, modified 2008-07-28 09:58:00 by api