java.lang.Object | |
↳ | com.pdftron.pdf.utils.FreeTextAlignmentUtils |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
FreeTextAlignmentUtils() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
static int |
getHorizontalAlignment(FreeText freeText)
Gets the vertical alignment for the Free Text.
| ||||||||||
static int |
getVerticalAlignment(FreeText freeText)
Gets the vertical alignment for the Free Text.
| ||||||||||
static boolean | isLeftAligned(int gravity) | ||||||||||
static void |
setHorizontalAlignment(FreeText freeText, int gravity)
Sets the horizontal alignment for the Free Text.
| ||||||||||
static void |
setVerticalAlignment(FreeText freeText, int gravity)
Sets the vertical alignment for the Free Text.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Gets the vertical alignment for the Free Text. This method requires a read lock.
freeText | the Free Text to obtain vertical alignment |
---|
PDFNetException |
---|
Gets the vertical alignment for the Free Text. This method requires a read lock.
freeText | the Free Text to obtain vertical alignment |
---|
PDFNetException |
---|
Sets the horizontal alignment for the Free Text. This method requires a write lock.
freeText | the Free Text to update |
---|---|
gravity | the Gravity used to determine the alignment direction. |
PDFNetException |
---|
Sets the vertical alignment for the Free Text. This method requires a write lock.
freeText | the Free Text to update |
---|---|
gravity | the Gravity used to determine the alignment direction. |
PDFNetException |
---|