ImageBitmapRenderingContext class

Experimental: This is an experimental technologyCheck the Browser compatibility table carefully before using this in production. The 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.

Available extensions
Annotations
  • @experimental
  • @JS()
  • @staticInterop

Constructors

ImageBitmapRenderingContext()
factory

Properties

canvas → dynamic

Available on ImageBitmapRenderingContext, provided by the PropsImageBitmapRenderingContext extension

no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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

Available on ImageBitmapRenderingContext, provided by the PropsImageBitmapRenderingContext extension

Operators

operator ==(Object other) bool
The equality operator.
inherited