-
public final class LayoutTreeSnapshotTable of details of an element in the DOM tree with a LayoutObject.
-
-
Field Summary
Fields Modifier and Type Field Description private final List<Integer>nodeIndexprivate final List<List<Integer>>stylesprivate final List<List<Double>>boundsprivate final List<Integer>textprivate final RareBooleanDatastackingContextsprivate final List<Integer>paintOrdersprivate final List<List<Double>>offsetRectsprivate final List<List<Double>>scrollRectsprivate final List<List<Double>>clientRects
-
Constructor Summary
Constructors Constructor Description LayoutTreeSnapshot(List<Integer> nodeIndex, List<List<Integer>> styles, List<List<Double>> bounds, List<Integer> text, RareBooleanData stackingContexts, List<Integer> paintOrders, List<List<Double>> offsetRects, List<List<Double>> scrollRects, List<List<Double>> clientRects)
-
Method Summary
Modifier and Type Method Description final List<Integer>component1()final List<List<Integer>>component2()final List<List<Double>>component3()final List<Integer>component4()final RareBooleanDatacomponent5()final List<Integer>component6()final List<List<Double>>component7()final List<List<Double>>component8()final List<List<Double>>component9()final LayoutTreeSnapshotcopy(List<Integer> nodeIndex, List<List<Integer>> styles, List<List<Double>> bounds, List<Integer> text, RareBooleanData stackingContexts, List<Integer> paintOrders, List<List<Double>> offsetRects, List<List<Double>> scrollRects, List<List<Double>> clientRects)final List<Integer>getNodeIndex()Index of the corresponding node in the NodeTreeSnapshotarray returned bycaptureSnapshot.final List<List<Integer>>getStyles()Array of indexes specifying computed style strings, filtered according to the computedStylesparameter passed tocaptureSnapshot.final List<List<Double>>getBounds()The absolute position bounding box. final List<Integer>getText()Contents of the LayoutText, if any. final RareBooleanDatagetStackingContexts()Stacking context information. final List<Integer>getPaintOrders()Global paint order index, which is determined by the stacking order of the nodes. final List<List<Double>>getOffsetRects()The offset rect of nodes. final List<List<Double>>getScrollRects()The scroll rect of nodes. final List<List<Double>>getClientRects()The client rect of nodes. -
-
Method Detail
-
component1
final List<Integer> component1()
-
component2
final List<List<Integer>> component2()
-
component3
final List<List<Double>> component3()
-
component4
final List<Integer> component4()
-
component5
final RareBooleanData component5()
-
component6
final List<Integer> component6()
-
component7
final List<List<Double>> component7()
-
component8
final List<List<Double>> component8()
-
component9
final List<List<Double>> component9()
-
copy
final LayoutTreeSnapshot copy(List<Integer> nodeIndex, List<List<Integer>> styles, List<List<Double>> bounds, List<Integer> text, RareBooleanData stackingContexts, List<Integer> paintOrders, List<List<Double>> offsetRects, List<List<Double>> scrollRects, List<List<Double>> clientRects)
-
getNodeIndex
final List<Integer> getNodeIndex()
Index of the corresponding node in the
NodeTreeSnapshotarray returned bycaptureSnapshot.
-
getStyles
final List<List<Integer>> getStyles()
Array of indexes specifying computed style strings, filtered according to the
computedStylesparameter passed tocaptureSnapshot.
-
getStackingContexts
final RareBooleanData getStackingContexts()
Stacking context information.
-
getPaintOrders
final List<Integer> getPaintOrders()
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.
-
getOffsetRects
final List<List<Double>> getOffsetRects()
The offset rect of nodes. Only available when includeDOMRects is set to true
-
getScrollRects
final List<List<Double>> getScrollRects()
The scroll rect of nodes. Only available when includeDOMRects is set to true
-
getClientRects
final List<List<Double>> getClientRects()
The client rect of nodes. Only available when includeDOMRects is set to true
-
-
-
-