ImageBitmapRenderingContext extension type
The ImageBitmapRenderingContext
interface is a canvas rendering
context that provides the functionality to replace the canvas's contents
with the given ImageBitmap. Its context id (the first argument to
HTMLCanvasElement.getContext or OffscreenCanvas.getContext) is
"bitmaprenderer"
.
This interface is available in both the window and the worker context.
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
transferFromImageBitmap(
ImageBitmap? bitmap) → void -
The
ImageBitmapRenderingContext.transferFromImageBitmap()
method displays the given ImageBitmap in the canvas associated with this rendering context. The ownership of theImageBitmap
is transferred to the canvas as well.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited