ImageBitmap: width property
MDN Web Docs · نسخهٔ df622a2a1c1e · CC BY-SA 2.5 و مجوز جداگانهٔ ناشر برای نمونهکد
{{APIRef("Canvas API")}}{{AvailableInWorkers}}
The **ImageBitmap.width** read-only property returns the {{domxref("ImageBitmap")}} object's width in CSS pixels.
Value
A number represents the {{domxref("ImageBitmap")}} object's width in CSS pixels.
Specifications
{{Specifications}}
Browser compatibility
{{Compat}}