ImageBitmap class

The interface represents a bitmap image which can be drawn to a <canvas> without undue latency. It can be created from a variety of source objects using the createImageBitmap() factory method. provides an asynchronous and resource efficient pathway to prepare textures for rendering in WebGL.

Available extensions
Annotations
  • @JS()
  • @staticInterop

Constructors

ImageBitmap()
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
height int

Available on ImageBitmap, provided by the PropsImageBitmap extension

no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
width int

Available on ImageBitmap, provided by the PropsImageBitmap extension

no setter

Methods

close() → void

Available on ImageBitmap, provided by the PropsImageBitmap extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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