Constructor

new(width:Int, height:Int, ?transparent:Bool, ?fillColor:UInt)

Inherited Variables

Defined by BitmapData

read onlyheight:Int

read onlyimage:Image

read onlyreadable:Bool

read onlyrect:Rectangle

read onlytransparent:Bool

read onlywidth:Int

Inherited Methods

Defined by BitmapData

applyFilter(sourceBitmapData:BitmapData, sourceRect:Rectangle, destPoint:Point, filter:BitmapFilter):Void

compare(otherBitmapData:BitmapData):Object

copyChannel(sourceBitmapData:BitmapData, sourceRect:Rectangle, destPoint:Point, sourceChannel:BitmapDataChannel, destChannel:BitmapDataChannel):Void

@:value({ mergeAlpha : false, alphaPoint : null, alphaBitmapData : null })copyPixels(sourceBitmapData:BitmapData, sourceRect:Rectangle, destPoint:Point, ?alphaBitmapData:BitmapData, ?alphaPoint:Null<Point>, mergeAlpha:Bool = false):Void

@:require(flash11_4)copyPixelsToByteArray(rect:Rectangle, data:ByteArray):Void

@:value({ smoothing : false, clipRect : null, blendMode : null, colorTransform : null, matrix : null })draw(source:IBitmapDrawable, ?matrix:Null<Matrix>, ?colorTransform:Null<ColorTransform>, ?blendMode:BlendMode, ?clipRect:Null<Rectangle>, smoothing:Bool = false):Void

@:value({ quality : null, smoothing : false, clipRect : null, blendMode : null, colorTransform : null, matrix : null })@:require(flash11_3)drawWithQuality(source:IBitmapDrawable, ?matrix:Null<Matrix>, ?colorTransform:Null<ColorTransform>, ?blendMode:BlendMode, ?clipRect:Null<Rectangle>, smoothing:Bool = false, ?quality:StageQuality):Void

@:value({ byteArray : null })@:require(flash11_3)encode(rect:Rectangle, compressor:Object, ?byteArray:ByteArray):ByteArray

floodFill(x:Int, y:Int, color:UInt):Void

@:value({ findColor : true })getColorBoundsRect(mask:UInt, color:UInt, findColor:Bool = true):Rectangle

@:require(flash10)getVector(rect:Rectangle):Vector<UInt>

@:value({ hRect : null })@:require(flash10)histogram(?hRect:Null<Rectangle>):Vector<Vector<Float>>

@:value({ secondAlphaThreshold : 1, secondBitmapDataPoint : null })hitTest(firstPoint:Point, firstAlphaThreshold:UInt, secondObject:Object, ?secondBitmapDataPoint:Null<Point>, secondAlphaThreshold:UInt = 1):Bool

merge(sourceBitmapData:BitmapData, sourceRect:Rectangle, destPoint:Point, redMultiplier:UInt, greenMultiplier:UInt, blueMultiplier:UInt, alphaMultiplier:UInt):Void

@:value({ grayScale : false, channelOptions : 7, high : 255, low : 0 })noise(randomSeed:Int, low:UInt = 0, high:UInt = 255, channelOptions:UInt = 7, grayScale:Bool = false):Void

@:value({ alphaArray : null, blueArray : null, greenArray : null, redArray : null })paletteMap(sourceBitmapData:BitmapData, sourceRect:Rectangle, destPoint:Point, ?redArray:Array<Int>, ?greenArray:Array<Int>, ?blueArray:Array<Int>, ?alphaArray:Array<Int>):Void

@:value({ offsets : null, grayScale : false, channelOptions : 7 })perlinNoise(baseX:Float, baseY:Float, numOctaves:UInt, randomSeed:Int, stitch:Bool, fractalNoise:Bool, channelOptions:UInt = 7, grayScale:Bool = false, ?offsets:Array<Point>):Void

@:value({ fillColor : 0, numPixels : 0, randomSeed : 0 })pixelDissolve(sourceBitmapData:BitmapData, sourceRect:Rectangle, destPoint:Point, randomSeed:Int = 0, numPixels:Int = 0, fillColor:UInt = 0):Int

setPixel(x:Int, y:Int, color:UInt):Void

setPixel32(x:Int, y:Int, color:UInt):Void

@:require(flash10)setVector(rect:Rectangle, inputVector:Vector<UInt>):Void

@:value({ copySource : false, mask : 0xFFFFFFFF, color : 0x00000000 })threshold(sourceBitmapData:BitmapData, sourceRect:Rectangle, destPoint:Point, operation:String, threshold:UInt, color:UInt = 0x00000000, mask:UInt = 0xFFFFFFFF, copySource:Bool = false):Int

@:value({ changeRect : null })unlock(?changeRect:Null<Rectangle>):Void