Class InlineTextBox


  • public class InlineTextBox
    extends java.lang.Object
    Details 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()  
    • Method Summary

      Modifier and Type Method Description
      Rect getBoundingBox()
      The bounding box in document coordinates.
      java.lang.Integer getNumCharacters()
      The number of characters in this post layout textbox substring.
      java.lang.Integer getStartCharacterIndex()
      The starting index in characters, for this post layout textbox substring.
      void setBoundingBox​(Rect boundingBox)
      The bounding box in document coordinates.
      void setNumCharacters​(java.lang.Integer numCharacters)
      The number of characters in this post layout textbox substring.
      void setStartCharacterIndex​(java.lang.Integer startCharacterIndex)
      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 Detail

      • InlineTextBox

        public InlineTextBox()
    • Method Detail

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

        public void setStartCharacterIndex​(java.lang.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 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.
      • setNumCharacters

        public void setNumCharacters​(java.lang.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.