mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 16:14:10 -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);
|
||||
|
||||
String toDataURL(String type, double quality);
|
||||
|
||||
String toDataURL(String type);
|
||||
|
||||
String toDataURL();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user