Class InlineTextBox

java.lang.Object
io.webfolder.cdp.type.domsnapshot.InlineTextBox

public class InlineTextBox extends Object
Details of post layout rendered text positions The exact layout should not be regarded as stable and may change between versions
  • Constructor Details

    • InlineTextBox

      public InlineTextBox()
  • Method Details

    • getBoundingBox

      public Rect getBoundingBox()
      The bounding box in document coordinates. Note that scroll offset of the document is ignored.
    • setBoundingBox

      public void setBoundingBox(Rect boundingBox)
      The bounding box in document coordinates. Note that scroll offset of the document is ignored.
    • getStartCharacterIndex

      public 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.
    • setStartCharacterIndex

      public void setStartCharacterIndex(Integer startCharacterIndex)
      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 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.
    • setNumCharacters

      public void setNumCharacters(Integer numCharacters)
      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.