Interface CanvasImageData
Methods
createImageData
- createImageData(sw, sh, settings?): ImageData
- createImageData(imagedata): ImageData
getImageData
- getImageData(sx, sy, sw, sh, settings?): ImageData
Parameters
sx: number
sy: number
sw: number
sh: number
putImageData
- putImageData(imagedata, dx, dy): void
Returns void
- putImageData(imagedata, dx, dy, dirtyX, dirtyY, dirtyWidth, dirtyHeight): void
Parameters
dx: number
dy: number
dirtyX: number
dirtyY: number
dirtyWidth: number
dirtyHeight: number
Returns void
MDN Reference