getClientRects

The Range.getClientRects() method returns a list of DOMRect objects representing the area of the screen occupied by the range.

MDN Reference