interface ImageBitmapRenderingContext
A rendering context that displays the contents of an ImageBitmap
on an OffscreenCanvas. Obtained from
OffscreenCanvas.getContext with the "bitmaprenderer" context
id.
Properties #
#canvas: OffscreenCanvas readonly
The canvas that this context is bound to.
Methods #
#transferFromImageBitmap(bitmap: ImageBitmap | null): undefined variable ImageBitmapRenderingContext
The constructor object for ImageBitmapRenderingContext.
An ImageBitmapRenderingContext is obtained from
OffscreenCanvas.getContext with the "bitmaprenderer" context id
rather than constructed directly.