Interface CanvasDrawImage
interface CanvasDrawImage { drawImage(image,
dx,
dy): void; drawImage(image,
dx,
dy,
dw,
dh): void; drawImage(image,
sx,
sy,
sw,
sh,
dx,
dy,
dw,
dh): void; } Methods
drawImage
- drawImage(image, dx, dy): void
Returns void
- drawImage(image, dx, dy, dw, dh): void
Returns void
- drawImage(image, sx, sy, sw, sh, dx, dy, dw, dh): void
Parameters
- image: CanvasImageSource
- sx: number
- sy: number
- sw: number
- sh: number
- dx: number
- dy: number
- dw: number
- dh: number
Returns void
MDN Reference