Interface for a generic Canvas with different APIs, that can be used to draw graphics.
read onlyg1:Graphics
The Graphics1 interface object. Basic setPixel operation.
read onlyg2:Graphics
The Graphics2 interface object. Use this for 2D operations.
read onlyg4:Graphics
The Graphics4 interface object. Use this for 3D operations.
read onlyheight:Int
The height of the canvas in pixels.
read onlywidth:Int
The width of the canvas in pixels.
get_g1 ():Graphics
get_g2 ():Graphics
get_g4 ():Graphics
get_height ():Int
get_width ():Int