MDN self-hosted library · e01.org

ImageBitmap: width property

Canvas API

no runnable cells web-api-instance-property upstream source

Canvas API

The ImageBitmap.width read-only property returns the ImageBitmap object's width in CSS pixels.

Value

A number represents the ImageBitmap object's width in CSS pixels.

Specifications

Browser compatibility