Constructor

new ()

Variables

Methods

apply (transform:Matrix, color:Color, alpha:Float):Void

begin (clear:Bool = true, ?color:Color):Void

inline clear (?color:Color):Void

inline drawAlignedCharacters (text:Array<Int>, start:Int, end:Int, x:Float, y:Float, horAlign:HorizontalTextAlign, verAlign:VerticalTextAlign):Void

inline drawArc (cx:Float, cy:Float, radius:Float, sAngle:Float, eAngle:Float, strength:Float = 1.0, ccw:Bool = false):Void

inline drawCircle (cx:Float, cy:Float, radius:Float, ?strength:Float, ?segments:Int):Void

inline drawCubicBezier (x:Array<Float>, y:Array<Float>, ?segments:Int, ?strength:Float):Void

inline drawCubicBezierPath (x:Array<Float>, y:Array<Float>, ?segments:Int, ?strength:Float):Void

inline drawImage (img:Image, x:Float, y:Float):Void

inline drawLine (x1:Float, y1:Float, x2:Float, y2:Float, ?strength:Float):Void

inline drawPolygon (x:Float, y:Float, vertices:Array<Point>, ?strength:Float):Void

inline drawRect (x:Float, y:Float, width:Float, height:Float, ?strength:Float):Void

inline drawScaledImage (img:Image, dx:Float, dy:Float, dw:Float, dh:Float):Void

inline drawScaledSubImage (image:Image, sx:Float, sy:Float, sw:Float, sh:Float, dx:Float, dy:Float, dw:Float, dh:Float):Void

inline drawScaledSubTexture (texture:Texture, sx:Float, sy:Float, sw:Float, sh:Float, dx:Float, dy:Float, dw:Float, dh:Float):Void

inline drawScaledTexture (texture:Texture, dx:Float, dy:Float, dw:Float, dh:Float):Void

inline drawSubImage (img:Image, x:Float, y:Float, sx:Float, sy:Float, sw:Float, sh:Float):Void

inline drawSubTexture (texture:Texture, x:Float, y:Float, sx:Float, sy:Float, sw:Float, sh:Float):Void

inline drawText (text:String, x:Float, y:Float):Void

inline drawTexture (texture:Texture, x:Float, y:Float):Void

inline drawVideo (video:Video, x:Float, y:Float, width:Float, height:Float):Void

inline fillArc (cx:Float, cy:Float, radius:Float, sAngle:Float, eAngle:Float, ccw:Bool = false):Void

inline fillCircle (cx:Float, cy:Float, radius:Float, ?segments:Int):Void

inline fillPolygon (x:Float, y:Float, vertices:Array<Point>):Void

inline fillRect (x:Float, y:Float, width:Float, height:Float):Void

inline fillTriangle (x1:Float, y1:Float, x2:Float, y2:Float, x3:Float, y3:Float):Void

Static variables

staticemptyMatrix:Matrix = Matrix.identity()