- interface HTMLCanvasElement : HTMLElement {
- CanvasRenderingContext2D? getContext(DOMString contextId);
- readonly attribute unsigned long width;
- readonly attribute unsigned long height;
- USVString toDataURL(optional DOMString type = "image/png", optional double quality);
- };
|