drawImage abstract method

void drawImage(
  1. Element image,
  2. num dx,
  3. num dy
)

Draws an image onto the canvas.

The image must be an HTMLImageElement, HTMLCanvasElement, HTMLVideoElement, or similar source.

Implementation

void drawImage(Element image, num dx, num dy);