The nsIDOMHTMLCanvasElement interface is the interface to a HTML
 <canvas> element.

 For more information on this interface, please see
 http://www.whatwg.org/specs/web-apps/current-work/#graphics

 @status UNDER_DEVELOPMENT
[scriptable, uuid(d87394af-d31a-484e-8b7c-75381045384d)]
interface nsIDOMHTMLCanvasElement : nsIDOMHTMLElement

Attributes


          
attribute long height

          
attribute boolean mozOpaque

          
attribute long width

Methods


          
nsISupports getContext(in DOMString contextId)

          
DOMString toDataURL()

          
[noscript] DOMString toDataURLAs(in DOMString mimeType, in DOMString encoderOptions)