Java com.google.gwt.dom.client CanvasElement fields, constructors, methods, implement or subclass

Example usage for Java com.google.gwt.dom.client CanvasElement fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.google.gwt.dom.client CanvasElement.

The text is from its open source code.

Method

Context2dgetContext2d()
Returns a 2D rendering context.
intgetHeight()
Gets the height of the canvas.
intgetWidth()
Gets the width of the canvas.
voidsetHeight(int height)
Sets the height of the canvas.
voidsetWidth(int width)
Sets the width of the canvas.
StringtoDataUrl(String type)
Returns a data URL for the current content of the canvas element, with a specified type.
StringtoDataUrl()
Returns a data URL for the current content of the canvas element.