ImageBitmapRenderingContext

The ImageBitmapRenderingContext interface is a canvas rendering context that provides the functionality to replace the canvas's contents with the given ImageBitmap.

MDN Reference

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Returns the canvas element that the context is bound to.

Functions

Link copied to clipboard

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