class openfl.display.BitmapData
Interfaces | |||
IBitmapDrawable |
|
Class Fields
static function fromBytes(bytes:ByteArray, ?rawAlpha:ByteArray, ?onload:BitmapData ->Void): BitmapData
Instance Fields
function applyFilter(sourceBitmapData:BitmapData, sourceRect:Rectangle, destPoint:Point, filter:BitmapFilter): Void
function copyChannel(sourceBitmapData:BitmapData, sourceRect:Rectangle, destPoint:Point, sourceChannel:Int, destChannel:Int): Void
function copyPixels(sourceBitmapData:BitmapData, sourceRect:Rectangle, destPoint:Point, ?alphaBitmapData:BitmapData, ?alphaPoint:Point, ?mergeAlpha:Bool): Void
function draw(source:IBitmapDrawable, ?matrix:Matrix, ?colorTransform:ColorTransform, ?blendMode:BlendMode, ?clipRect:Rectangle, ?smoothing:Bool): Void
function hitTest(firstPoint:Point, firstAlphaThreshold:Int, secondObject:Dynamic, ?secondBitmapDataPoint:Point, ?secondAlphaThreshold:Int): Bool
function merge(sourceBitmapData:BitmapData, sourceRect:Rectangle, destPoint:Point, redMultiplier:UInt, greenMultiplier:UInt, blueMultiplier:UInt, alphaMultiplier:UInt): 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