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-Diagram
Legend
interface
public property
public method
Methods
drawImage
- drawImage(image: CanvasImageSource, dx: number, dy: number): void
Returns void
- drawImage(image: CanvasImageSource, dx: number, dy: number, dw: number, dh: number): void
Returns void
- drawImage(image: CanvasImageSource, sx: number, sy: number, sw: number, sh: number, dx: number, dy: number, dw: number, dh: number): void
Parameters
- image: CanvasImageSource
- sx: number
- sy: number
- sw: number
- sh: number
- dx: number
- dy: number
- dw: number
- dh: number
Returns void
MDN Reference