class flash.display.BitmapData implements IBitmapDrawable

Available on flash

Instance Fields

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):Object

function copyChannel(sourceBitmapData:BitmapData, sourceRect:Rectangle, destPoint:Point, sourceChannel:UInt, destChannel:UInt):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 drawWithQuality(source:IBitmapDrawable, ?matrix:Matrix, ?colorTransform:ColorTransform, ?blendMode:BlendMode, ?clipRect:Rectangle, ?smoothing:Bool, ?quality:StageQuality):Void

function encode(rect:Rectangle, compressor:Object, ?byteArray:ByteArray):ByteArray

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 getVector(rect:Rectangle):Vector<UInt>

function hitTest(firstPoint:Point, firstAlphaThreshold:UInt, secondObject:Object, ?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