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