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.height Read only

Returns the height of the output bitmap that the author should draw.

PaintSize.width Read only

Returns the width of the output bitmap that the author should draw.

Specifications

Specification
CSS Painting API Level 1
# paintsize

Browser compatibility

BCD tables only load in the browser

See also