This represents the screen canvas. This is deprecated.

Variables

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.

Static variables

staticread onlythe:ScreenCanvas

Static instance of the ScreenCanvas.