mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2025-01-08 07:54:11 -08:00
JS: add HTMLCanvasElement.toDataURL overloads
This commit is contained in:
parent
ca50f72fe9
commit
b57b628107
|
@ -36,5 +36,9 @@ public interface HTMLCanvasElement extends HTMLElement, CanvasImageSource {
|
||||||
|
|
||||||
JSObject getContext(String contextId, JSObject attributes);
|
JSObject getContext(String contextId, JSObject attributes);
|
||||||
|
|
||||||
|
String toDataURL(String type, double quality);
|
||||||
|
|
||||||
String toDataURL(String type);
|
String toDataURL(String type);
|
||||||
|
|
||||||
|
String toDataURL();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user