Web platform features explorer

DOM Geometry

Widely available since 2022-07-15
Tags: api

The DOMMatrix, DOMPoint, DOMQuad and DOMRect interfaces offer a way to represent points, rectangles, quadrilaterals and transformation matrices within JavaScript. They can be used in transformations in CSS, <canvas>, and SVG.

Browser support

  • Chrome 61 Released on 2017-09-05
  • Chrome Android 61 Released on 2017-09-05
  • Edge 79 Released on 2020-01-15
  • Firefox 33 Released on 2014-10-14
  • Firefox for Android 33 Released on 2014-10-14
  • Safari 11 Released on 2017-09-19
  • Safari on iOS 11 Released on 2017-09-19