Classes
ImageBitmap
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()
function.
See
https://developer.mozilla.org/docs/Web/API/ImageBitmap
Implements
Properties
Property | Type | Description |
---|---|---|
height | number | Read-only property containing the height of the ImageBitmap in CSS pixels. See https://developer.mozilla.org/docs/Web/API/ImageBitmap/height |
width | number | Read-only property containing the width of the ImageBitmap in CSS pixels. See https://developer.mozilla.org/docs/Web/API/ImageBitmap/width |
Methods
close()
close(): void
Disposes of all graphical resources associated with the ImageBitmap
.
Returns
void
Implementation of
globalThis.ImageBitmap.close
See
https://developer.mozilla.org/docs/Web/API/ImageBitmap/close