package flash.display
implements IBitmapDrawable
Available on flash
new(width:Int, height:Int, transparent:Bool = true, fillColor:UInt = 0xFFFFFFFF)read onlyheight:Intread onlyrect:Rectangleread onlytransparent:Boolread onlywidth:IntapplyFilter(sourceBitmapData:BitmapData, sourceRect:Rectangle, destPoint:Point, filter:BitmapFilter):Voidclone():BitmapDatacolorTransform(rect:Rectangle, colorTransform:ColorTransform):Voidcompare(otherBitmapData:BitmapData):ObjectcopyChannel(sourceBitmapData:BitmapData, sourceRect:Rectangle, destPoint:Point, sourceChannel:UInt, destChannel:UInt):VoidcopyPixels(sourceBitmapData:BitmapData, sourceRect:Rectangle, destPoint:Point, ?alphaBitmapData:BitmapData, ?alphaPoint:Point, mergeAlpha:Bool = false):VoidcopyPixelsToByteArray(rect:Rectangle, data:ByteArray):Voiddispose():Voiddraw(source:IBitmapDrawable, ?matrix:Matrix, ?colorTransform:ColorTransform, ?blendMode:BlendMode, ?clipRect:Rectangle, smoothing:Bool = false):VoiddrawWithQuality(source:IBitmapDrawable, ?matrix:Matrix, ?colorTransform:ColorTransform, ?blendMode:BlendMode, ?clipRect:Rectangle, smoothing:Bool = false, ?quality:StageQuality):Voidencode(rect:Rectangle, compressor:Object, ?byteArray:ByteArray):ByteArrayfillRect(rect:Rectangle, color:UInt):VoidfloodFill(x:Int, y:Int, color:UInt):VoidgenerateFilterRect(sourceRect:Rectangle, filter:BitmapFilter):RectanglegetColorBoundsRect(mask:UInt, color:UInt, findColor:Bool = true):RectanglegetPixel(x:Int, y:Int):UIntgetPixel32(x:Int, y:Int):UIntgetPixels(rect:Rectangle):ByteArraygetVector(rect:Rectangle):Vector<UInt>histogram(?hRect:Rectangle):Vector<Vector<Float>>hitTest(firstPoint:Point, firstAlphaThreshold:UInt, secondObject:Object, ?secondBitmapDataPoint:Point, secondAlphaThreshold:UInt = 1):Boollock():Voidmerge(sourceBitmapData:BitmapData, sourceRect:Rectangle, destPoint:Point, redMultiplier:UInt, greenMultiplier:UInt, blueMultiplier:UInt, alphaMultiplier:UInt):Voidnoise(randomSeed:Int, low:UInt = 0, high:UInt = 255, channelOptions:UInt = 7, grayScale:Bool = false):VoidpaletteMap(sourceBitmapData:BitmapData, sourceRect:Rectangle, destPoint:Point, ?redArray:Array<Int>, ?greenArray:Array<Int>, ?blueArray:Array<Int>, ?alphaArray:Array<Int>):VoidperlinNoise(baseX:Float, baseY:Float, numOctaves:UInt, randomSeed:Int, stitch:Bool, fractalNoise:Bool, channelOptions:UInt = 7, grayScale:Bool = false, ?offsets:Array<Point>):VoidpixelDissolve(sourceBitmapData:BitmapData, sourceRect:Rectangle, destPoint:Point, randomSeed:Int = 0, numPixels:Int = 0, fillColor:UInt = 0):Intscroll(x:Int, y:Int):VoidsetPixel(x:Int, y:Int, color:UInt):VoidsetPixel32(x:Int, y:Int, color:UInt):VoidsetPixels(rect:Rectangle, inputByteArray:ByteArray):VoidsetVector(rect:Rectangle, inputVector:Vector<UInt>):Voidthreshold(sourceBitmapData:BitmapData, sourceRect:Rectangle, destPoint:Point, operation:String, threshold:UInt, color:UInt = 0, mask:UInt = 0xFFFFFFFF, copySource:Bool = false):UIntunlock(?changeRect:Rectangle):Void
© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/flash/display/BitmapData.html