Example usage for Java com.google.gwt.dom.client CanvasElement fields, constructors, methods, implement or subclass
The text is from its open source code.
Context2d | getContext2d() Returns a 2D rendering context. |
int | getHeight() Gets the height of the canvas. |
int | getWidth() Gets the width of the canvas. |
void | setHeight(int height) Sets the height of the canvas. |
void | setWidth(int width) Sets the width of the canvas. |
String | toDataUrl(String type) Returns a data URL for the current content of the canvas element, with a specified type. |
String | toDataUrl() Returns a data URL for the current content of the canvas element. |