-
public final class InlineTextBoxDetails of post layout rendered text positions. The exact layout should not be regarded as stable and may change between versions.
-
-
Field Summary
Fields Modifier and Type Field Description private final RectboundingBoxprivate final IntegerstartCharacterIndexprivate final IntegernumCharacters
-
Constructor Summary
Constructors Constructor Description InlineTextBox(Rect boundingBox, Integer startCharacterIndex, Integer numCharacters)
-
Method Summary
Modifier and Type Method Description final Rectcomponent1()final Integercomponent2()final Integercomponent3()final InlineTextBoxcopy(Rect boundingBox, Integer startCharacterIndex, Integer numCharacters)final RectgetBoundingBox()The bounding box in document coordinates. final IntegergetStartCharacterIndex()The starting index in characters, for this post layout textbox substring. final IntegergetNumCharacters()The number of characters in this post layout textbox substring. -
-
Method Detail
-
component1
final Rect component1()
-
component2
final Integer component2()
-
component3
final Integer component3()
-
copy
final InlineTextBox copy(Rect boundingBox, Integer startCharacterIndex, Integer numCharacters)
-
getBoundingBox
final Rect getBoundingBox()
The bounding box in document coordinates. Note that scroll offset of the document is ignored.
-
getStartCharacterIndex
final 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
final 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.
-
-
-
-