Constructor
new (?buffer:ImageBuffer, offsetX:Int = 0, offsetY:Int = 0, width:Int = -1, height:Int = -1, ?color:Int, ?type:ImageType)
Variables
Methods
copyChannel (sourceImage:Image, sourceRect:Rectangle, destPoint:Vector2, sourceChannel:ImageChannel, destChannel:ImageChannel):Void
copyPixels (sourceImage:Image, sourceRect:Rectangle, destPoint:Vector2, ?alphaImage:Image, ?alphaPoint:Vector2, mergeAlpha:Bool = false):Void
merge (sourceImage:Image, sourceRect:Rectangle, destPoint:Vector2, redMultiplier:Int, greenMultiplier:Int, blueMultiplier:Int, alphaMultiplier:Int):Void
threshold (sourceImage:Image, sourceRect:Rectangle, destPoint:Vector2, operation:String, threshold:Int, color:Int = 0x00000000, mask:Int = 0xFFFFFFFF, copySource:Bool = false, ?format:PixelFormat):Int
Static methods
staticfromBitmapData (bitmapData:Dynamic):Image
Available on Android, HTML5, iOS, Linux, macOS, Neko, Windows
staticfromCanvas (canvas:Dynamic):Image
Available on Android, Flash, iOS, Linux, macOS, Neko, Windows
staticfromImageElement (image:Dynamic):Image
Available on Android, Flash, iOS, Linux, macOS, Neko, Windows