Class TextBoxSnapshot

java.lang.Object
io.webfolder.cdp.type.domsnapshot.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()  
  • Method Summary

    Modifier and Type Method Description
    java.util.List<java.util.List<java.lang.Double>> 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.
    void setBounds​(java.util.List<java.util.List<java.lang.Double>> bounds)
    The absolute position bounding box.
    void setLayoutIndex​(java.util.List<java.lang.Integer> layoutIndex)
    Index of the layout tree node that owns this box collection.
    void setLength​(java.util.List<java.lang.Integer> length)
    The number of characters in this post layout textbox substring.
    void setStart​(java.util.List<java.lang.Integer> start)
    The starting index in characters, for this post layout textbox substring.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • getLayoutIndex

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

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

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

      public void setBounds​(java.util.List<java.util.List<java.lang.Double>> bounds)
      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.
    • setStart

      public void setStart​(java.util.List<java.lang.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 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.
    • setLength

      public void setLength​(java.util.List<java.lang.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.