diff --git a/jso/apis/src/main/java/org/teavm/jso/dom/html/HTMLCanvasElement.java b/jso/apis/src/main/java/org/teavm/jso/dom/html/HTMLCanvasElement.java index a4f51aeae..79cac70ed 100644 --- a/jso/apis/src/main/java/org/teavm/jso/dom/html/HTMLCanvasElement.java +++ b/jso/apis/src/main/java/org/teavm/jso/dom/html/HTMLCanvasElement.java @@ -36,5 +36,9 @@ public interface HTMLCanvasElement extends HTMLElement, CanvasImageSource { JSObject getContext(String contextId, JSObject attributes); + String toDataURL(String type, double quality); + String toDataURL(String type); + + String toDataURL(); }