Interface CanvasImageData
interface CanvasImageData { createImageData(sw,
sh,
settings?): ImageData; createImageData(imagedata): ImageData; getImageData(sx,
sy,
sw,
sh,
settings?): ImageData; putImageData(imagedata,
dx,
dy): void; putImageData(imagedata,
dx,
dy,
dirtyX,
dirtyY,
dirtyWidth,
dirtyHeight): 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
MDN Reference