# class ImageCanvasUtil

#### package lime.graphics.utils

Available on all platforms

### Static methods

###

`staticcolorTransform (image:Image, rect:Rectangle, colorMatrix:ColorMatrix):Void`

###

`staticconvertToCanvas (image:Image, clear:Bool = false):Void`

###

`staticconvertToData (image:Image, clear:Bool = false):Void`

###

`staticcopyChannel (image:Image, sourceImage:Image, sourceRect:Rectangle, destPoint:Vector2, sourceChannel:ImageChannel, destChannel:ImageChannel):Void`

###

`staticcopyPixels (image:Image, sourceImage:Image, sourceRect:Rectangle, destPoint:Vector2, ?alphaImage:Image, ?alphaPoint:Vector2, mergeAlpha:Bool = false):Void`

###

`staticcreateCanvas (image:Image, width:Int, height:Int):Void`

###

`staticcreateImageData (image:Image):Void`

###

`staticfillRect (image:Image, rect:Rectangle, color:Int, format:PixelFormat):Void`

###

`staticfloodFill (image:Image, x:Int, y:Int, color:Int, format:PixelFormat):Void`

###

`staticgetPixel (image:Image, x:Int, y:Int, format:PixelFormat):Int`

###

`staticgetPixel32 (image:Image, x:Int, y:Int, format:PixelFormat):Int`

###

`staticgetPixels (image:Image, rect:Rectangle, format:PixelFormat):Bytes`

###

`staticmerge (image:Image, sourceImage:Image, sourceRect:Rectangle, destPoint:Vector2, redMultiplier:Int, greenMultiplier:Int, blueMultiplier:Int, alphaMultiplier:Int):Void`

###

`staticresize (image:Image, newWidth:Int, newHeight:Int):Void`

###

`staticscroll (image:Image, x:Int, y:Int):Void`

###

`staticsetPixel (image:Image, x:Int, y:Int, color:Int, format:PixelFormat):Void`

###

`staticsetPixel32 (image:Image, x:Int, y:Int, color:Int, format:PixelFormat):Void`

###

`staticsetPixels (image:Image, rect:Rectangle, bytePointer:BytePointer, format:PixelFormat, endian:Endian):Void`

###

`staticsync (image:Image, clear:Bool):Void`