# Canvas

The canvas object.

# Properties

# number width

The canvas height.

# number height

The canvas width.

# Methods

# string Canvas.toTempFilePath(Object object)

Saves the current canvas as a temporary file.

# RenderingContext Canvas.getContext(string contextType, Object contextAttributes)

Gets the drawing context of a canvas object.

# string Canvas.toDataURL()

Returns the drawing content on a canvas in data URI format.