class lime.graphics.utils.ImageDataUtil

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, ?alphaPoint:Vector2, ?mergeAlpha:Bool): 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, 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): Bytes

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, bytes:Bytes, format:PixelFormat): Void

static function threshold(image:Image, sourceImage:Image, sourceRect:Rectangle, destPoint:Vector2, operation:String, threshold:Int, color:Int, mask:Int, copySource:Bool, format:PixelFormat): Int

static function unmultiplyAlpha(image:Image): Void