Visible Content Rects Result Data
data class VisibleContentRectsResultData(val boundingClientRect: Rect?, val locator: SimpleLocatorData, val rects: List<VisibleContentRectData>)
A serializable result object returned from IReaderView.fetchRectsForVisibleContent()
.
Constructors
Link copied to clipboard
constructor(boundingClientRect: Rect?, locator: SimpleLocatorData, rects: List<VisibleContentRectData>)
Properties
Link copied to clipboard
The bounding rectangle that most closely contains all rectangles in the rects
list. Coordinates are in application viewport coordinate space.
Link copied to clipboard
The locator used to generate this result object. This is the intersection between the locator passed to fetchRectsForVisibleContent
and the VisiblePage's range locator.
Link copied to clipboard
A list of objects containing rectangles and locators for line boxes and replaced elements such as <img>
elements.