ImageBitmap: width property
Note: This feature is available in Web Workers.
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
Specification |
---|
HTML Standard # dom-imagebitmap-width-dev |
Browser compatibility
BCD tables only load in the browser