DOMRect : DOMRectReadOnly
DOMRect describes a rectangular region an element occupies in the viewport. The Element.getBoundingClientRect() method returns a DOMRect containing the position of the Element. Element.getClientRects() returns a DOMRectList containing a list of DOMRects for each portion of the Element (ie, a text Element may have multiple rects if it was split across 2 lines).Copyright © JavaScripture Contributors