Class 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.

Hierarchy

  • ImageBitmap

Implements

Properties

Methods

Properties

height: number

Read-only property containing the height of the ImageBitmap in CSS pixels.

width: number

Read-only property containing the width of the ImageBitmap in CSS pixels.

Methods

Generated using TypeDoc