ImageBitmap: width-Eigenschaft

Hinweis: Diese Funktion ist in Web Workers verfügbar.

Die schreibgeschützte ImageBitmap.width-Eigenschaft gibt die Breite des ImageBitmap-Objekts in CSS-Pixel zurück.

Wert

Eine Zahl, die die Breite des ImageBitmap-Objekts in CSS-Pixel darstellt.

Spezifikationen

Specification
HTML
# dom-imagebitmap-width-dev

Browser-Kompatibilität

Report problems with this compatibility data on GitHub
desktopmobileserver
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
Deno
width

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support