WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.
nsIDOMHTMLCanvasElement
| IID: | 0583A2EA-AB19-40e1-8BE4-5E9B2F275560 |
| Inherits From: | nsIDOMHTMLElement |
| Status: | UNDER_DEVELOPMENT |
The nsIDOMHTMLCanvasElement interface is the interface to a HTML
For more information on this interface, please see http://www.whatwg.org/specs/web-apps/current-work/#graphics
Properties
PRInt32 height
PRInt32 width
Methods
nsISupports getContext ( DOMString contextId )
DOMString toDataURL ( )
[noscript] DOMString toDataURLAs ( DOMString mimeType , DOMString encoderOptions )
nsISupports getContext ( DOMString contextId )
- Arguments:
- contextId
DOMString toDataURLAs ( DOMString mimeType , DOMString encoderOptions )
- Arguments:
- mimeType
- encoderOptions
References
This interface is the type of the following properties:
nsIDOMCanvasRenderingContext2D.canvas
Reference documentation is generated from Mozilla's source.
