Interface ImageBitmapRenderingContext
interface ImageBitmapRenderingContext {
canvas: HTMLCanvasElement | OffscreenCanvas;
transferFromImageBitmap(bitmap: ImageBitmap): void;
}
canvas: HTMLCanvasElement | OffscreenCanvas;
transferFromImageBitmap(bitmap: ImageBitmap): void;
}
 Index
Properties
Methods
 Methods
transferFromImageBitmap   
- transferFromImageBitmap(bitmap: ImageBitmap): void
- Transfers the underlying bitmap data from imageBitmap to context, and the bitmap becomes the contents of the canvas element to which context is bound. - Parameters- bitmap: ImageBitmap
 - Returns void
MDN Reference