Returns a rendering context for the offscreen canvas.
The height of the offscreen canvas.
The HTMLCanvasElement.mozGetAsFille() method returns a File object representing the image contained in the canvas; this file is a memory-based file, with the specified name.
The HTMLCanvasElement.mozGetAsFille() method returns a File object representing the image contained in the canvas; this file is a memory-based file, with the specified name. If type is not specified, the image type is image/png.
Creates a Blob object representing the image contained in the canvas.
Creates a Blob object representing the image contained in the canvas.
A Number between 0 and 1 indicating image quality if the requested type is image/jpeg or image/webp. If this argument is anything else, the default value for image quality is used. Other arguments are ignored.
A Promise returning a Blob object representing the image contained in the canvas.
The OffscreenCanvas.transferToImageBitmap() method creates an ImageBitmap object from the most recently rendered image of the OffscreenCanvas.
The OffscreenCanvas.transferToImageBitmap() method creates an ImageBitmap object from the most recently rendered image of the OffscreenCanvas.
An ImageBitmap.
The width of the offscreen canvas.
The OffscreenCanvas interface provides a canvas that can be rendered off screen. It is available in both the window and worker contexts.
https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvas