Interface CanvasDrawImage

    interface CanvasDrawImage {
        drawImage(image: CanvasImageSource, dx: number, dy: number): void;
        drawImage(image: CanvasImageSource, dx: number, dy: number, dw: number, dh: number): void;
        drawImage(image: CanvasImageSource, sx: number, sy: number, sw: number, sh: number, dx: number, dy: number, dw: number, dh: number): void;
    }
    Hierarchy

    Methods

    Methods

    • Parameters

      Returns void

    • Parameters

      Returns void

    • Parameters

      • image: CanvasImageSource
      • sx: number
      • sy: number
      • sw: number
      • sh: number
      • dx: number
      • dy: number
      • dw: number
      • dh: number

      Returns void