Public Member Functions | Public Attributes

nsIDOMHTMLCanvasElement Interface Reference

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

import "nsIDOMHTMLCanvasElement.idl";

Inheritance diagram for nsIDOMHTMLCanvasElement:
Collaboration diagram for nsIDOMHTMLCanvasElement:

List of all members.

Public Member Functions

nsISupports getContext (in DOMString contextId)
DOMString toDataURL ([optional] in DOMString type,[optional] in DOMString params)
DOMString toDataURLAs (in DOMString mimeType, in DOMString encoderOptions)

Public Attributes

attribute long width
attribute long height
attribute boolean mozOpaque

Detailed Description

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

Member Function Documentation

nsISupports nsIDOMHTMLCanvasElement::getContext ( in DOMString  contextId  ) 
DOMString nsIDOMHTMLCanvasElement::toDataURL ( [optional] in DOMString  type,
[optional] in DOMString  params 
)
DOMString nsIDOMHTMLCanvasElement::toDataURLAs ( in DOMString  mimeType,
in DOMString  encoderOptions 
)

Member Data Documentation


The documentation for this interface was generated from the following file: