LayoutTreeSnapshot
@Serializable
Table of details of an element in the DOM tree with a LayoutObject.
Constructors
Link copied to clipboard
constructor(nodeIndex: List<Int>, styles: List<List<Double>>, bounds: List<List<Double>>, text: List<Int>, stackingContexts: DOMSnapshot.RareBooleanData, paintOrders: List<Int>? = null, offsetRects: List<List<Double>>? = null, scrollRects: List<List<Double>>? = null, clientRects: List<List<Double>>? = null, blendedBackgroundColors: List<Int>? = null, textColorOpacities: List<Double>? = null)
Properties
Link copied to clipboard
The list of background colors that are blended with colors of overlapping elements.
Link copied to clipboard
The client rect of nodes. Only available when includeDOMRects is set to true
Link copied to clipboard
The offset rect of nodes. Only available when includeDOMRects is set to true
Link copied to clipboard
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.
Link copied to clipboard
The scroll rect of nodes. Only available when includeDOMRects is set to true
Link copied to clipboard
Stacking context information.
Link copied to clipboard
The list of computed text opacities.