Class TextBoxSnapshot

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

public class TextBoxSnapshot extends 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 Details

    • TextBoxSnapshot

      public TextBoxSnapshot()
  • Method Details

    • getLayoutIndex

      public List<Integer> getLayoutIndex()
      Index of the layout tree node that owns this box collection.
    • setLayoutIndex

      public void setLayoutIndex(List<Integer> layoutIndex)
      Index of the layout tree node that owns this box collection.
    • getBounds

      public List<List<Double>> getBounds()
      The absolute position bounding box.
    • setBounds

      public void setBounds(List<List<Double>> bounds)
      The absolute position bounding box.
    • getStart

      public List<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.
    • setStart

      public void setStart(List<Integer> start)
      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 List<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.
    • setLength

      public void setLength(List<Integer> length)
      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.