Class InlineTextBox
- java.lang.Object
-
- org.openqa.selenium.devtools.v85.domsnapshot.model.InlineTextBox
-
public class InlineTextBox extends java.lang.ObjectDetails of post layout rendered text positions. The exact layout should not be regarded as stable and may change between versions.
-
-
Constructor Summary
Constructors Constructor Description InlineTextBox(Rect boundingBox, java.lang.Integer startCharacterIndex, java.lang.Integer numCharacters)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RectgetBoundingBox()The bounding box in document coordinates.java.lang.IntegergetNumCharacters()The number of characters in this post layout textbox substring.java.lang.IntegergetStartCharacterIndex()The starting index in characters, for this post layout textbox substring.
-
-
-
Constructor Detail
-
InlineTextBox
public InlineTextBox(Rect boundingBox, java.lang.Integer startCharacterIndex, java.lang.Integer numCharacters)
-
-
Method Detail
-
getBoundingBox
public Rect getBoundingBox()
The bounding box in document coordinates. Note that scroll offset of the document is ignored.
-
getStartCharacterIndex
public java.lang.Integer getStartCharacterIndex()
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.
-
getNumCharacters
public java.lang.Integer getNumCharacters()
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.
-
-