Search


Search something to see results

ImageBitmapRenderingContext

interface ImageBitmapRenderingContext {
    canvas: HTMLCanvasElement | OffscreenCanvas;
    transferFromImageBitmap(bitmap: null | ImageBitmap): void;
}

Index

Properties

Methods

Properties

Returns the canvas element that the context is bound to.

MDN Reference

Methods

Transfers the underlying bitmap data from imageBitmap to context, and the bitmap becomes the contents of the canvas element to which context is bound.

MDN Reference

Parameters

Returns void