Class: Graphics

Graphics.Graphics

graphics related management (mainly canvas)

new Graphics.Graphics (canvasWidth, canvasHeight)

Name Type Description
canvasWidth Number the width of the canvas to be created.
canvasHeight Number the height of the canvas to be created.

Methods

clear ()

clear - clears the canvas
Returns:
null