PaintSize
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
The PaintSize interface of the CSS Painting API represents the size of the output bitmap that the author should draw.
Instance properties
PaintSize.heightRead only-
Returns the height of the output bitmap that the author should draw.
PaintSize.widthRead only-
Returns the width of the output bitmap that the author should draw.
Specifications
| Specification |
|---|
| CSS Painting API Level 1 # paintsize |
Browser compatibility
| desktop | mobile | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
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.