Creates an empty image data container with the given size.
The width in pixels.
The height in pixels.
The created image data container.
Returns image data at the given position.
The horizontal position of the image data to return.
The vertical position of the image data to return.
The width of the image data to return.
The height of the image data to return.
The read image data.
Draws the given image data to the given position.
The image data to draw.
The horizontal position where to draw the image data.
The vertical position where to draw the image data.
Minimal interface for a 2D canvas rendering context.