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
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