haXe API Documentation
Back | Index
extern class flash.display.BitmapData
Available in flash
var height : Int
var rectangle : flash.geom.Rectangle<Int>
var transparent : Bool
var width : Int
function new(width : Int, height : Int, ?transparent : Bool, ?fillcolor : Int) : Void
function applyFilter(source : BitmapData, sourceRect : flash.geom.Rectangle<Int>, dest : flash.geom.Point<Int>, filter : flash.filters.BitmapFilter) : Int
function clone() : BitmapData
function colorTransform(r : flash.geom.Rectangle<Int>, trans : flash.geom.ColorTransform) : Void
function compare(b : BitmapData) : BitmapData
FP9 only
function copyChannel(source : BitmapData, sourceRect : flash.geom.Rectangle<Int>, dest : flash.geom.Point<Int>, sourceChannel : Int, destChannel : Int) : Void
function copyPixels(src : BitmapData, srcRect : flash.geom.Rectangle<Int>, dst : flash.geom.Point<Int>, ?alpha : BitmapData, ?alphaPos : flash.geom.Point<Int>, ?mergeAlpha : Bool) : Void
function dispose() : Void
function draw(source : Dynamic, ?matrix : flash.geom.Matrix, ?colortrans : flash.geom.ColorTransform, ?blendMode : Dynamic, ?clipRect : flash.geom.Rectangle<Int>, ?smooth : Bool) : Void
function fillRect(r : flash.geom.Rectangle<Int>, color : Int) : Void
function floodFill(x : Int, y : Int, color : Int) : Void
function generateFilterRect(sourceRect : flash.geom.Rectangle<Int>, filter : flash.filters.BitmapFilter) : flash.geom.Rectangle<Int>
function getColorBoundsRect(mask : Int, color : Int, ?fillColor : Bool) : flash.geom.Rectangle<Int>
function getPixel(x : Int, y : Int) : Int
function getPixel32(x : Int, y : Int) : Int
function hitTest(firstPoint : flash.geom.Point<Int>, firstAlpha : Int, object : Dynamic, ?secondPoint : flash.geom.Point<Int>, ?secondAlpha : Int) : Bool
function merge(src : BitmapData, srcRect : flash.geom.Rectangle<Int>, dst : flash.geom.Point<Int>, redMult : Int, greenMult : Int, blueMult : Int, alphaMult : Int) : Void
function noise(seed : Int, ?low : Int, ?high : Int, ?channels : Int, ?gray : Bool) : Void
function paletteMap(source : BitmapData, srcRect : flash.geom.Rectangle<Int>, dst : flash.geom.Point<Int>, ?reds : Array<Dynamic>, ?greens : Array<Dynamic>, ?blues : Array<Dynamic>, ?alphas : Array<Dynamic>) : Void
function perlinNoise(x : Int, y : Int, num : Int, seed : Int, stitch : Bool, noise : Bool, ?channels : Int, ?gray : Bool, ?offsets : Array<flash.geom.Point<Float>>) : Void
function pixelDissolve(src : BitmapData, srcRect : flash.geom.Rectangle<Int>, dst : flash.geom.Point<Int>, ?seed : Int, ?npixels : Int, ?fillColor : Int) : Int
function scroll(dx : Int, dy : Int) : Void
function setPixel(x : Int, y : Int, color : Int) : Void
function setPixel32(x : Int, y : Int, color : Int) : Void
function threshold(src : BitmapData, srcRect : flash.geom.Rectangle<Int>, dstPoint : flash.geom.Point<Int>, op : String, threshold : Int, ?color : Int, ?mask : Int, ?copy : Bool) : Int
static function loadBitmap(id : String) : BitmapData
Back | Index