Package | Description |
---|---|
com.google.gwt.canvas.client |
Classes for HTML Canvas 2D support.
|
com.google.gwt.canvas.dom.client |
Classes for HTML Canvas 2D support.
|
com.google.gwt.dom.client |
Classes for low-level DOM programming.
|
Modifier and Type | Method and Description |
---|---|
CanvasElement |
Canvas.getCanvasElement()
Returns the attached Canvas Element.
|
Modifier and Type | Method and Description |
---|---|
static Canvas |
Canvas.wrap(CanvasElement element)
Wrap an existing canvas element.
|
Modifier and Type | Method and Description |
---|---|
CanvasElement |
Context2d.getCanvas()
Gets this context's canvas.
|
Modifier and Type | Method and Description |
---|---|
CanvasPattern |
Context2d.createPattern(CanvasElement image,
Context2d.Repetition repetition)
Creates a pattern from another canvas.
|
CanvasPattern |
Context2d.createPattern(CanvasElement image,
java.lang.String repetition)
Creates a pattern from another canvas.
|
void |
Context2d.drawImage(CanvasElement image,
double dx,
double dy)
Draws an image.
|
void |
Context2d.drawImage(CanvasElement image,
double dx,
double dy,
double dw,
double dh)
Draws a scaled image.
|
void |
Context2d.drawImage(CanvasElement image,
double sx,
double sy,
double sw,
double sh,
double dx,
double dy,
double dw,
double dh)
Draws a scaled subset of an image.
|
Modifier and Type | Method and Description |
---|---|
CanvasElement |
Document.createCanvasElement()
Creates a <canvas> element.
|