files/en-us/web/api/domquad/index.md
{{APIRef("Geometry Interfaces")}}{{AvailableInWorkers}}
A DOMQuad is a collection of four DOMPoints defining the corners of an arbitrary quadrilateral. Returning DOMQuads lets getBoxQuads() return accurate information even when arbitrary 2D or 3D transforms are present. It has a handy bounds attribute returning a DOMRectReadOnly for those cases where you just want an axis-aligned bounding rectangle.
DOMQuad object.DOMQuad.DOMQuad.DOMQuad.DOMQuad.DOMQuad object.DOMQuad object.DOMQuad object based on the provided set of coordinates in the shape of another DOMQuad object.DOMQuad object based on the provided set of coordinates in the shape of a {{domxref("DOMRect")}} object.{{Specifications}}
{{Compat}}