Options
All
  • Public
  • Public/Protected
  • All
Menu

A result object returned from IReaderView.fetchRectsForVisibleContent().

Hierarchy

  • IVisibleContentRectsResult

Index

Properties

boundingClientRect

boundingClientRect: DOMRect

The bounding rectangle that most closely contains all rectangles in the rects list. Coordinates are in application viewport coordinate space.

If the rects list is empty, then this property is null.

contentLocation

contentLocation: IContentLocation

The content location used to generate this result object. This is the intersection between the ContentLocation passed to fetchRectsForVisibleContent and the VisiblePage's range ContentLocation.

If no contentLocation was passed to fetchRectsForVisibleContent, then this property will be the range content location for the page.

rects

A list of objects containing rectangles and content locations for line boxes and replaced elements such as <img> elements.

Methods

toJSON

Generated using TypeDoc