Constructor

new (canvas:Canvas)

Variables

Methods

Inherited Variables

Defined by Graphics

color:Color

The color value is used for geometric primitives as well as for images. Remember to set it back to white to draw images unaltered.

fontGlyphs:Array<Int>

opacity:Float

Inherited Methods

Defined by Graphics

get_opacity ():Float

popOpacity ():Float

pushOpacity (opacity:Float):Void

pushRotation (angle:FastFloat, centerx:FastFloat, centery:FastFloat):Void

pushTransformation (transformation:FastMatrix3):Void

rotate (angle:FastFloat, centerx:FastFloat, centery:FastFloat):Void

set_opacity (opacity:Float):Float