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; } Methods
createImageData
- createImageData(sw, sh, settings?): ImageData
- createImageData(imagedata): ImageData
getImageData
- getImageData(sx, sy, sw, sh, settings?): ImageData
putImageData
- putImageData(imagedata, dx, dy): void
Returns void
- putImageData(imagedata, dx, dy, dirtyX, dirtyY, dirtyWidth, dirtyHeight): void
Parameters
- imagedata: ImageData
- dx: number
- dy: number
- dirtyX: number
- dirtyY: number
- dirtyWidth: number
- dirtyHeight: number
Returns void