Package | Description |
---|---|
com.google.gwt.canvas.dom.client |
Classes for HTML Canvas 2D support.
|
Modifier and Type | Method and Description |
---|---|
ImageData |
Context2d.createImageData(ImageData imagedata)
Creates an image data object of the same size as the given object.
|
ImageData |
Context2d.createImageData(int w,
int h)
Creates an image data object of the given size.
|
ImageData |
Context2d.getImageData(double sx,
double sy,
double sw,
double sh)
Returns an image data object for the screen area denoted by
sx, sy, sw and sh.
|
Modifier and Type | Method and Description |
---|---|
ImageData |
Context2d.createImageData(ImageData imagedata)
Creates an image data object of the same size as the given object.
|
void |
Context2d.putImageData(ImageData imagedata,
double x,
double y)
Draws the given image data at the given screen position.
|