The destination ImageData to write to.
The source ImageData to read from.
The x-coordinate in the target where drawing starts.
The y-coordinate in the target where drawing starts.
The x-coordinate in the source to start copying from.
The y-coordinate in the source to start copying from.
The width of the rectangle to copy.
The height of the rectangle to copy.
An optional Uint8Array mask (0-255). 0 is transparent, 255 is opaque.
type of mask
Writes image data from a source to a target with support for clipping and alpha masking.