Constructor

new (canvas:Dynamic)

Methods

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

drawCircle (cx:Float, cy:Float, radius:Float, strength:Float = 1.0):Void

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

fillCircle (cx:Float, cy:Float, radius:Float):Void

Static methods

staticstringWidth (font:Font, text:String):Float

Inherited Variables

Defined by Graphics

color:Color

The color value is used for geometric primitives, images, and text. Remember to set it back to white to draw images unaltered.

Inherited Methods