Uses of Class
com.itextpdf.layout.properties.TextAlignment
-
Packages that use TextAlignment Package Description com.itextpdf.forms.fields com.itextpdf.forms.form.element com.itextpdf.layout com.itextpdf.layout.properties com.itextpdf.layout.renderer -
-
Uses of TextAlignment in com.itextpdf.forms.fields
Methods in com.itextpdf.forms.fields that return TextAlignment Modifier and Type Method Description TextAlignment
PdfFormField. getJustification()
Gets a code specifying the form of quadding (justification) to be used in displaying the text: 0 Left-justified 1 Centered 2 Right-justifiedprivate static TextAlignment
PdfFormField. numberToHorizontalAlignment(int alignment)
Methods in com.itextpdf.forms.fields with parameters of type TextAlignment Modifier and Type Method Description PdfFormField
PdfFormField. setJustification(TextAlignment justification)
Sets a code specifying the form of quadding (justification) to be used in displaying the text: 0 Left-justified 1 Centered 2 Right-justified -
Uses of TextAlignment in com.itextpdf.forms.form.element
Fields in com.itextpdf.forms.form.element declared as TextAlignment Modifier and Type Field Description private static TextAlignment
Button. DEFAULT_TEXT_ALIGNMENT
-
Uses of TextAlignment in com.itextpdf.layout
Methods in com.itextpdf.layout with parameters of type TextAlignment Modifier and Type Method Description T
ElementPropertyContainer. setTextAlignment(TextAlignment alignment)
Sets the text alignment of this Element.T
RootElement. showTextAligned(Paragraph p, float x, float y, int pageNumber, TextAlignment textAlign, VerticalAlignment vertAlign, float radAngle)
Convenience method to write a text aligned about the specified pointT
RootElement. showTextAligned(Paragraph p, float x, float y, TextAlignment textAlign)
Convenience method to write a text aligned about the specified pointT
RootElement. showTextAligned(Paragraph p, float x, float y, TextAlignment textAlign, VerticalAlignment vertAlign)
Convenience method to write a text aligned about the specified pointT
RootElement. showTextAligned(java.lang.String text, float x, float y, TextAlignment textAlign)
Convenience method to write a text aligned about the specified pointT
RootElement. showTextAligned(java.lang.String text, float x, float y, TextAlignment textAlign, float angle)
Convenience method to write a text aligned about the specified pointT
RootElement. showTextAligned(java.lang.String text, float x, float y, TextAlignment textAlign, VerticalAlignment vertAlign, float angle)
Convenience method to write a text aligned about the specified pointT
RootElement. showTextAlignedKerned(java.lang.String text, float x, float y, TextAlignment textAlign, VerticalAlignment vertAlign, float radAngle)
Convenience method to write a kerned text aligned about the specified point -
Uses of TextAlignment in com.itextpdf.layout.properties
Methods in com.itextpdf.layout.properties that return TextAlignment Modifier and Type Method Description static TextAlignment
TextAlignment. valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static TextAlignment[]
TextAlignment. values()
Returns an array containing the constants of this enum type, in the order they are declared. -
Uses of TextAlignment in com.itextpdf.layout.renderer
Methods in com.itextpdf.layout.renderer with parameters of type TextAlignment Modifier and Type Method Description private void
ParagraphRenderer. applyTextAlignment(TextAlignment textAlignment, LineLayoutResult result, LineRenderer processedRenderer, Rectangle layoutBox, java.util.List<Rectangle> floatRendererAreas, boolean onlyOverflowedFloatsLeft, float lineIndent)
private static PdfName
AccessibleAttributesApplier. transformTextAlignmentValueToName(TextAlignment textAlignment)
-