Interface CanvasImageData
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
-
Parameters
-
sx: number
-
sy: number
-
sw: number
-
sh: number
-
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
-
-
dx: number
-
dy: number
-
dirtyX: number
-
dirtyY: number
-
dirtyWidth: number
-
dirtyHeight: number
Returns void