Java org.apache.pdfbox.text TextPosition fields, constructors, methods, implement or subclass

Example usage for Java org.apache.pdfbox.text TextPosition fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.pdfbox.text TextPosition.

The text is from its open source code.

Constructor

Method

booleancontains(TextPosition tp2)
Determine if this TextPosition logically contains another (i.e.
int[]getCharacterCodes()
Return the internal PDF character codes of the glyphs in this text.
PDFontgetFont()
This will get the font for the text being drawn.
floatgetFontSize()
This will get the font size that has been set with the "Tf" operator (Set text font and size).
floatgetFontSizeInPt()
This will get the font size in pt.
floatgetHeight()
This will get the maximum height of all characters in this string.
floatgetHeightDir()
This will get the maximum height of all characters in this string.
float[]getIndividualWidths()
Get the widths of each individual character.
MatrixgetTextMatrix()
The matrix containing the starting text position and scaling.
StringgetUnicode()
Return the string of characters stored in this object.
floatgetWidth()
This will get the width of the string when page rotation adjusted coordinates are used.
floatgetWidthDirAdj()
This will get the width of the string when text direction adjusted coordinates are used.
floatgetWidthOfSpace()
This will get the width of a space character.
floatgetX()
This will get the page rotation adjusted x position of the character.
floatgetXDirAdj()
This will get the text direction adjusted x position of the character.
floatgetXScale()
This will get the X scaling factor.
floatgetY()
This will get the page rotation adjusted x position of the character.
floatgetYDirAdj()
This will get the y position of the text, adjusted so that 0,0 is upper left and it is adjusted based on the text direction.
floatgetYScale()
This will get the Y scaling factor.
booleanisDiacritic()
voidmergeDiacritic(TextPosition diacritic)
Merge a single character TextPosition into the current object.
StringtoString()
Show the string data for this text position.