data class LayoutTreeSnapshot
(source)
Table of details of an element in the DOM tree with a LayoutObject.
Link
DOMSnapshot#LayoutTreeSnapshot type documentation.
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)
Table of details of an element in the DOM tree with a LayoutObject. |
val bounds: List<Rectangle>
The absolute position bounding box. |
|
val clientRects: List<Rectangle>?
The client rect of nodes. Only available when includeDOMRects is set to true |
|
val nodeIndex: List<Int>
Index of the corresponding node in the |
|
val offsetRects: List<Rectangle>?
The offset rect of nodes. Only available when includeDOMRects is set to true |
|
val paintOrders: List<Int>?
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 scrollRects: List<Rectangle>?
The scroll rect of nodes. Only available when includeDOMRects is set to true |
|
val stackingContexts: RareBooleanData
Stacking context information. |
|
val styles: List<ArrayOfStrings>
Array of indexes specifying computed style strings, filtered according to the |
|
val text: List<StringIndex>
Contents of the LayoutText, if any. |