12 lines
349 B
Text
12 lines
349 B
Text
#import <HTML/CanvasRenderingContext2D.idl>
|
|
#import <HTML/HTMLElement.idl>
|
|
|
|
interface HTMLCanvasElement : HTMLElement {
|
|
|
|
CanvasRenderingContext2D? getContext(DOMString contextId);
|
|
attribute unsigned long width;
|
|
attribute unsigned long height;
|
|
|
|
USVString toDataURL(optional DOMString type = "image/png", optional double quality);
|
|
|
|
};
|