Static variables

Static methods

Constructor

new(canvas:Canvas)

Variables

Methods

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

Defined by Graphics

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

dx, dy, dw, dh arguments is the rectangle to draw into the destination context

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

sx, sy, sw, sh arguments is the sub-rectangle of the source img image

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

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