drawImageScaledFromSource abstract method

void drawImageScaledFromSource(
  1. Element image,
  2. num sx,
  3. num sy,
  4. num sWidth,
  5. num sHeight,
  6. num dx,
  7. num dy,
  8. num dWidth,
  9. num dHeight,
)

Draws a portion of an image onto a portion of the canvas.

Implementation

void drawImageScaledFromSource(
  Element image,
  num sx,
  num sy,
  num sWidth,
  num sHeight,
  num dx,
  num dy,
  num dWidth,
  num dHeight,
);