public class LayoutTreeSnapshot extends Object
| Constructor and Description |
|---|
LayoutTreeSnapshot() |
| Modifier and Type | Method and Description |
|---|---|
List<List<Double>> |
getBounds()
The absolute position bounding box.
|
List<List<Double>> |
getClientRects()
The client rect of nodes.
|
List<Integer> |
getNodeIndex()
Index of the corresponding node in the `NodeTreeSnapshot` array returned by `captureSnapshot`.
|
List<List<Double>> |
getOffsetRects()
The offset rect of nodes.
|
List<Integer> |
getPaintOrders()
Global paint order index, which is determined by the stacking order of the nodes.
|
List<List<Double>> |
getScrollRects()
The scroll rect of nodes.
|
RareBooleanData |
getStackingContexts()
Stacking context information.
|
List<List<Integer>> |
getStyles()
Array of indexes specifying computed style strings, filtered according to the `computedStyles`
parameter passed to `captureSnapshot`.
|
List<Integer> |
getText()
Contents of the LayoutText, if any.
|
void |
setBounds(List<List<Double>> bounds)
The absolute position bounding box.
|
void |
setClientRects(List<List<Double>> clientRects)
The client rect of nodes.
|
void |
setNodeIndex(List<Integer> nodeIndex)
Index of the corresponding node in the `NodeTreeSnapshot` array returned by `captureSnapshot`.
|
void |
setOffsetRects(List<List<Double>> offsetRects)
The offset rect of nodes.
|
void |
setPaintOrders(List<Integer> paintOrders)
Global paint order index, which is determined by the stacking order of the nodes.
|
void |
setScrollRects(List<List<Double>> scrollRects)
The scroll rect of nodes.
|
void |
setStackingContexts(RareBooleanData stackingContexts)
Stacking context information.
|
void |
setStyles(List<List<Integer>> styles)
Array of indexes specifying computed style strings, filtered according to the `computedStyles`
parameter passed to `captureSnapshot`.
|
void |
setText(List<Integer> text)
Contents of the LayoutText, if any.
|
public List<Integer> getNodeIndex()
public void setNodeIndex(List<Integer> nodeIndex)
public List<List<Integer>> getStyles()
public void setStyles(List<List<Integer>> styles)
public RareBooleanData getStackingContexts()
public void setStackingContexts(RareBooleanData stackingContexts)
public List<Integer> getPaintOrders()
public void setPaintOrders(List<Integer> paintOrders)
public List<List<Double>> getOffsetRects()
public void setOffsetRects(List<List<Double>> offsetRects)
public List<List<Double>> getScrollRects()
public void setScrollRects(List<List<Double>> scrollRects)
public List<List<Double>> getClientRects()
Copyright © 2020. All rights reserved.