class lime.graphics.utils.ImageCanvasUtil

Available on all platforms

Class Fields

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

static function convertToCanvas(image:Image):Void

static function convertToData(image:Image):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 createCanvas(image:Image, width:Int, height:Int):Void

static function createImageData(image:Image):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 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 resize(image:Image, newWidth:Int, newHeight:Int):Void

static function scroll(image:Image, x:Int, y:Int):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 sync(image:Image, clear:Bool):Void