PaintSize

Limited availability

This feature is not Baseline because it does not work in some of the most widely-used browsers.

Das PaintSize-Interface der CSS Painting API repräsentiert die Größe des Ausgabebitmaps, das der Autor zeichnen sollte.

Instanz-Eigenschaften

PaintSize.height Schreibgeschützt

Gibt die Höhe des Ausgabebitmaps zurück, das der Autor zeichnen sollte.

PaintSize.width Schreibgeschützt

Gibt die Breite des Ausgabebitmaps zurück, das der Autor zeichnen sollte.

Spezifikationen

Specification
CSS Painting API Level 1
# paintsize

Browser-Kompatibilität

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

Legend

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

Full support
Full support
No support
No support
See implementation notes.

Siehe auch