summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/HTML/HTMLCanvasElement.idl
blob: 1ff0f64a46a5e069970131f57214bec0f95fa840 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#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);

};