Web 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.

Learning resources on MDN

Browser support