Back to Content

PaintSize

files/en-us/web/api/paintsize/index.md

latest750 B
Original Source

{{APIRef("CSS Painting API")}}

The PaintSize interface of the CSS Painting API represents the size of the output bitmap that the author should draw.

Instance properties

  • {{domxref('PaintSize.height')}} {{ReadOnlyInline}}
    • : Returns the height of the output bitmap that the author should draw.
  • {{domxref('PaintSize.width')}} {{ReadOnlyInline}}
    • : Returns the width of the output bitmap that the author should draw.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}

See also