Class TextBoxSnapshot
- java.lang.Object
-
- org.openqa.selenium.devtools.v100.domsnapshot.model.TextBoxSnapshot
-
public class TextBoxSnapshot extends java.lang.Object
Table of details of the post layout rendered text positions. The exact layout should not be regarded as stable and may change between versions.
-
-
Constructor Summary
Constructors Constructor Description TextBoxSnapshot(java.util.List<java.lang.Integer> layoutIndex, java.util.List<Rectangle> bounds, java.util.List<java.lang.Integer> start, java.util.List<java.lang.Integer> length)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<Rectangle>
getBounds()
The absolute position bounding box.java.util.List<java.lang.Integer>
getLayoutIndex()
Index of the layout tree node that owns this box collection.java.util.List<java.lang.Integer>
getLength()
The number of characters in this post layout textbox substring.java.util.List<java.lang.Integer>
getStart()
The starting index in characters, for this post layout textbox substring.
-
-
-
Constructor Detail
-
TextBoxSnapshot
public TextBoxSnapshot(java.util.List<java.lang.Integer> layoutIndex, java.util.List<Rectangle> bounds, java.util.List<java.lang.Integer> start, java.util.List<java.lang.Integer> length)
-
-
Method Detail
-
getLayoutIndex
public java.util.List<java.lang.Integer> getLayoutIndex()
Index of the layout tree node that owns this box collection.
-
getBounds
public java.util.List<Rectangle> getBounds()
The absolute position bounding box.
-
getStart
public java.util.List<java.lang.Integer> getStart()
The starting index in characters, for this post layout textbox substring. Characters that would be represented as a surrogate pair in UTF-16 have length 2.
-
getLength
public java.util.List<java.lang.Integer> getLength()
The number of characters in this post layout textbox substring. Characters that would be represented as a surrogate pair in UTF-16 have length 2.
-
-