drawImageScaled abstract method

void drawImageScaled(
  1. PCanvasImage image,
  2. num x,
  3. num y,
  4. num width,
  5. num height,
)

Draw an image at (x,y) scaling it to the dimension width x height.

Implementation

void drawImageScaled(PCanvasImage image, num x, num y, num width, num height);