The target to write into. Must match the rect width/height.
The source pixel data (RGBA).
A rect defining the destination region.
The target to write into.
The source pixel data (RGBA). Must match the width/height.
The starting horizontal coordinate in the target.
The starting vertical coordinate in the target.
The width of the region to write.
The height of the region to write.
Copies a pixel buffer into a specific region of an ImageData object.
This function performs a direct memory copy from a Uint8ClampedArray into the target ImageData buffer. It supports both Rect objects and discrete coordinates.