data class LayoutTreeSnapshot
Table of details of an element in the DOM tree with a LayoutObject.
<init> |
Table of details of an element in the DOM tree with a LayoutObject. LayoutTreeSnapshot(nodeIndex: List<Int>, styles: List<ArrayOfStrings>, bounds: List<Rectangle>, text: List<StringIndex>, stackingContexts: RareBooleanData, paintOrders: List<Int>? = null, offsetRects: List<Rectangle>? = null, scrollRects: List<Rectangle>? = null, clientRects: List<Rectangle>? = null) |
bounds |
The absolute position bounding box. val bounds: List<Rectangle> |
clientRects |
The client rect of nodes. Only available when includeDOMRects is set to true val clientRects: List<Rectangle>? |
nodeIndex |
Index of the corresponding node in the val nodeIndex: List<Int> |
offsetRects |
The offset rect of nodes. Only available when includeDOMRects is set to true val offsetRects: List<Rectangle>? |
paintOrders |
Global paint order index, which is determined by the stacking order of the nodes. Nodes that are painted together will have the same index. Only provided if includePaintOrder in captureSnapshot was true. val paintOrders: List<Int>? |
scrollRects |
The scroll rect of nodes. Only available when includeDOMRects is set to true val scrollRects: List<Rectangle>? |
stackingContexts |
Stacking context information. val stackingContexts: RareBooleanData |
styles |
Array of indexes specifying computed style strings, filtered according to the val styles: List<ArrayOfStrings> |
text |
Contents of the LayoutText, if any. val text: List<StringIndex> |