MDN self-hosted library · e01.org

PaintSize

CSS Painting API

no runnable cells web-api-interface upstream source

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

  • PaintSize.height
  • : Returns the height of the output bitmap that the author should draw.
  • PaintSize.width
  • : Returns the width of the output bitmap that the author should draw.

Specifications

Browser compatibility

See also