Skip to main content
ImageBitmap - Canvas - Web documentation
interface ImageBitmap

ImageBitmap interface represents a bitmap image which can be drawn to a canvas.

Properties

readonly
height: number

The height of the bitmap.

readonly
width: number

The width of the bitmap.

Methods

close(): void

Releases imageBitmap's resources.

variable ImageBitmap

ImageBitmap represents a bitmap image which can be drawn to a canvas.

Properties