## Uses of Class
com.google.gwt.dom.client.ImageElement

- Packages that use ImageElement
  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.

- - ### Uses of ImageElement in com.google.gwt.canvas.dom.client

    Methods in com.google.gwt.canvas.dom.client with parameters of type ImageElement
    Modifier and Type | Method | Description
    --- | --- | ---
    `CanvasPattern` | Context2d.`createPattern​(ImageElement image, Context2d.Repetition repetition)` | Creates a pattern from an image.
    `CanvasPattern` | Context2d.`createPattern​(ImageElement image, java.lang.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.

  - ### Uses of ImageElement in com.google.gwt.dom.client

    Methods in com.google.gwt.dom.client that return ImageElement
    Modifier and Type | Method | 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.