Export (0) Print
Expand All

canvas property

Gets a back reference to the canvas object that the current context derives from.

HTML Canvas 2D Context, Section 1Internet Explorer 9

Syntax

JavaScript

p = object.canvas

Property values

Type: Object

The canvas object for the current context.

Standards information

Remarks

You can use the canvas property to access the canvas object from functions where you passed in only the current CanvasRenderingContext2D object.

See also

CanvasRenderingContext2D

 

 

Show:
© 2014 Microsoft