Constructor
new(width:Int, height:Int)
Variables
Methods
drawChars(text:String, offset:Int, length:Int, x:Float, y:Float):Void
@:value({ oy : 0, ox : 0, angle : 0 })drawImage2(image:Image, sx:Float, sy:Float, sw:Float, sh:Float, dx:Float, dy:Float, dw:Float, dh:Float, angle:Float = 0, ox:Float = 0, oy:Float = 0):Void
@:value({ strength : 1.0 })drawLine(x1:Float, y1:Float, x2:Float, y2:Float, strength:Float = 1.0):Void
@:value({ strength : 1.0 })drawRect(x:Float, y:Float, width:Float, height:Float, strength:Float = 1.0):Void
@:value({ scaleCenterY : 0.0, scaleCenterX : 0.0, scaleY : 1.0, scaleX : 1.0 })drawString(text:String, x:Float, y:Float, scaleX:Float = 1.0, scaleY:Float = 1.0, scaleCenterX:Float = 0.0, scaleCenterY:Float = 0.0):Void
drawVideo(video:Video, x:Float, y:Float, width:Float, height:Float):Void
fillRect(x:Float, y:Float, width:Float, height:Float):Void
fillTriangle(x1:Float, y1:Float, x2:Float, y2:Float, x3:Float, y3:Float):Void