class lime.graphics.utils.ImageDataUtil

Available on all platforms

Class Fields

static function colorTransform(image:Image, rect:Rectangle, colorMatrix:ColorMatrix):Void

static function copyChannel(image:Image, sourceImage:Image, sourceRect:Rectangle, destPoint:Vector2, sourceChannel:ImageChannel, destChannel:ImageChannel):Void

static function copyPixels(image:Image, sourceImage:Image, sourceRect:Rectangle, destPoint:Vector2, ?alphaImage:Image = null, ?alphaPoint:Vector2 = null, ?mergeAlpha:Bool = false):Void

static function fillRect(image:Image, rect:Rectangle, color:Int, format:PixelFormat):Void

static function floodFill(image:Image, x:Int, y:Int, color:Int, format:PixelFormat):Void

static function getColorBoundsRect(image:Image, mask:Int, color:Int, ?findColor:Bool = true, format:PixelFormat):Rectangle

static function getPixel(image:Image, x:Int, y:Int, format:PixelFormat):Int

static function getPixel32(image:Image, x:Int, y:Int, format:PixelFormat):Int

static function getPixels(image:Image, rect:Rectangle, format:PixelFormat):ByteArray

static function merge(image:Image, sourceImage:Image, sourceRect:Rectangle, destPoint:Vector2, redMultiplier:Int, greenMultiplier:Int, blueMultiplier:Int, alphaMultiplier:Int):Void

static function multiplyAlpha(image:Image):Void

static function resize(image:Image, newWidth:Int, newHeight:Int):Void

static function resizeBuffer(image:Image, newWidth:Int, newHeight:Int):Void

static function setFormat(image:Image, format:PixelFormat):Void

static function setPixel(image:Image, x:Int, y:Int, color:Int, format:PixelFormat):Void

static function setPixel32(image:Image, x:Int, y:Int, color:Int, format:PixelFormat):Void

static function setPixels(image:Image, rect:Rectangle, byteArray:ByteArray, format:PixelFormat):Void

static function unmultiplyAlpha(image:Image):Void