public class LayoutTreeNode extends Object
| Constructor and Description |
|---|
LayoutTreeNode() |
| Modifier and Type | Method and Description |
|---|---|
Rect |
getBoundingBox()
The bounding box in document coordinates.
|
Integer |
getDomNodeIndex()
The index of the related DOM node in the `domNodes` array returned by `getSnapshot`.
|
List<InlineTextBox> |
getInlineTextNodes()
The post-layout inline text nodes, if any.
|
Boolean |
getIsStackingContext()
Set to true to indicate the element begins a new stacking context.
|
String |
getLayoutText()
Contents of the LayoutText, if any.
|
Integer |
getPaintOrder()
Global paint order index, which is determined by the stacking order of the nodes.
|
Integer |
getStyleIndex()
Index into the `computedStyles` array returned by `getSnapshot`.
|
void |
setBoundingBox(Rect boundingBox)
The bounding box in document coordinates.
|
void |
setDomNodeIndex(Integer domNodeIndex)
The index of the related DOM node in the `domNodes` array returned by `getSnapshot`.
|
void |
setInlineTextNodes(List<InlineTextBox> inlineTextNodes)
The post-layout inline text nodes, if any.
|
void |
setIsStackingContext(Boolean isStackingContext)
Set to true to indicate the element begins a new stacking context.
|
void |
setLayoutText(String layoutText)
Contents of the LayoutText, if any.
|
void |
setPaintOrder(Integer paintOrder)
Global paint order index, which is determined by the stacking order of the nodes.
|
void |
setStyleIndex(Integer styleIndex)
Index into the `computedStyles` array returned by `getSnapshot`.
|
public Integer getDomNodeIndex()
public void setDomNodeIndex(Integer domNodeIndex)
public Rect getBoundingBox()
public void setBoundingBox(Rect boundingBox)
public String getLayoutText()
public void setLayoutText(String layoutText)
public List<InlineTextBox> getInlineTextNodes()
public void setInlineTextNodes(List<InlineTextBox> inlineTextNodes)
public Integer getStyleIndex()
public void setStyleIndex(Integer styleIndex)
public Integer getPaintOrder()
public void setPaintOrder(Integer paintOrder)
public Boolean getIsStackingContext()
public void setIsStackingContext(Boolean isStackingContext)
Copyright © 2020. All rights reserved.