com.github.xpenatan.gdx.backends.teavm.dom.HTMLCanvasElementWrapper Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of backend-teavm Show documentation
Show all versions of backend-teavm Show documentation
Tool to generate libgdx to javascript using teaVM
package com.github.xpenatan.gdx.backends.teavm.dom;
import org.teavm.jso.JSObject;
/**
* @author xpenatan
*/
public interface HTMLCanvasElementWrapper extends HTMLElementWrapper, EventTargetWrapper, JSObject {
HTMLDocumentWrapper getOwnerDocument();
int getWidth();
void setWidth(int width);
int getHeight();
void setHeight(int height);
String toDataURL(String type);
WebJSObject getContext(String value);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy