Layout |
The LayoutTreeSnapshot type exposes the following members.
Name | Description | |
---|---|---|
BlendedBackgroundColors | The list of background colors that are blended with colors of overlapping elements. | |
Bounds | The absolute position bounding box. | |
ClientRects | The client rect of nodes. Only available when includeDOMRects is set to true | |
NodeIndex | Index of the corresponding node in the `NodeTreeSnapshot` array returned by `captureSnapshot`. | |
OffsetRects | The offset rect of nodes. Only available when includeDOMRects is set to true | |
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. | |
ScrollRects | The scroll rect of nodes. Only available when includeDOMRects is set to true | |
StackingContexts | Stacking context information. | |
Styles | Array of indexes specifying computed style strings, filtered according to the `computedStyles` parameter passed to `captureSnapshot`. | |
Text | Contents of the LayoutText, if any. | |
TextColorOpacities | The list of computed text opacities. |