ImageBitmap

interface

interface ImageBitmap

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

variable

var ImageBitmap: { … }

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

Constructors

constructor

new ImageBitmap(): ImageBitmap

Properties

height

readonly height: number

The height of the bitmap.

width

readonly width: number

The width of the bitmap.

prototype

prototype: ImageBitmap

Methods

close

close(): void

Releases imageBitmap's resources.