Interface CanvasImageData
interface CanvasImageData { createImageData(sw: number,
sh: number,
settings?: ImageDataSettings): ImageData; createImageData(imagedata: ImageData): ImageData; getImageData(sx: number,
sy: number,
sw: number,
sh: number,
settings?: ImageDataSettings): ImageData; putImageData(imagedata: ImageData,
dx: number,
dy: number): void; putImageData(imagedata: ImageData,
dx: number,
dy: number,
dirtyX: number,
dirtyY: number,
dirtyWidth: number,
dirtyHeight: number): void; }
Hierarchy-Diagram
Legend
interface
public property
public method
Methods
createImageData
- createImageData(sw: number, sh: number, settings?: ImageDataSettings): ImageData
- createImageData(imagedata: ImageData): ImageData
getImageData
- getImageData(sx: number, sy: number, sw: number, sh: number, settings?: ImageDataSettings): ImageData
putImageData
- putImageData(imagedata: ImageData, dx: number, dy: number): void
Returns void
- putImageData(imagedata: ImageData, dx: number, dy: number, dirtyX: number, dirtyY: number, dirtyWidth: number, dirtyHeight: number): void
Parameters
- imagedata: ImageData
- dx: number
- dy: number
- dirtyX: number
- dirtyY: number
- dirtyWidth: number
- dirtyHeight: number
Returns void
MDN Reference