drawImageArea abstract method

void drawImageArea(
  1. PCanvasImage image,
  2. int srcX,
  3. int srcY,
  4. int srcWidth,
  5. int srcHeight,
  6. num dstX,
  7. num dstY,
  8. num dstWidth,
  9. num dstHeight,
)

Draw an image part (srcX,srcY , srcWidth x srcHeight) to a destiny area (dstX,dstY , dstWidth x dstHeight).

Implementation

void drawImageArea(PCanvasImage image, int srcX, int srcY, int srcWidth,
    int srcHeight, num dstX, num dstY, num dstWidth, num dstHeight);