Package | Description |
---|---|
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 |
---|---|
CanvasPattern |
Context2d.createPattern(ImageElement image,
Context2d.Repetition repetition)
Creates a pattern from an image.
|
CanvasPattern |
Context2d.createPattern(ImageElement image,
String repetition)
Creates a pattern from an image.
|
void |
Context2d.drawImage(ImageElement image,
double dx,
double dy)
Draws an image.
|
void |
Context2d.drawImage(ImageElement image,
double dx,
double dy,
double dw,
double dh)
Draws a scaled image.
|
void |
Context2d.drawImage(ImageElement 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 |
---|---|
static ImageElement |
ImageElement.as(Element elem)
Assert that the given
Element is compatible with this class and
automatically typecast it. |
ImageElement |
Document.createImageElement()
Creates an <img> element.
|
Copyright © 2018. All rights reserved.