| Package | Description |
|---|---|
| com.itextpdf.layout | |
| com.itextpdf.layout.element | |
| com.itextpdf.layout.renderer |
| Modifier and Type | Method and Description |
|---|---|
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 point
|
T |
RootElement.showTextAligned(Paragraph p,
float x,
float y,
TextAlignment textAlign)
Convenience method to write a text aligned about the specified point
|
T |
RootElement.showTextAligned(Paragraph p,
float x,
float y,
TextAlignment textAlign,
VerticalAlignment vertAlign)
Convenience method to write a text aligned about the specified point
|
| Modifier and Type | Method and Description |
|---|---|
Paragraph |
Paragraph.add(IBlockElement element) |
Paragraph |
Paragraph.add(ILeafElement element)
Adds a layout element to the Paragraph.
|
Paragraph |
Paragraph.add(String text)
Adds a piece of text to the Paragraph
|
<T2 extends ILeafElement> |
Paragraph.addAll(List<T2> elements)
Adds a
List of layout elements to the Paragraph. |
Paragraph |
Paragraph.addTabStops(List<TabStop> tabStops)
Adds a
List of tabstop elements as properties to the Paragraph. |
Paragraph |
Paragraph.addTabStops(TabStop... tabStops)
Adds an unspecified amount of tabstop elements as properties to the Paragraph.
|
Paragraph |
Paragraph.removeTabStop(float tabStopPosition)
Removes a tabstop position from the Paragraph, if it is present in the
Property.TAB_STOPS property. |
Paragraph |
Paragraph.setFirstLineIndent(float indent)
Sets the indent value for the first line of the
Paragraph. |
Paragraph |
Paragraph.setFixedLeading(float leading)
Sets the leading value, using the
Leading.FIXED strategy. |
Paragraph |
Paragraph.setMultipliedLeading(float leading)
Sets the leading value, using the
Leading.MULTIPLIED strategy. |
Paragraph |
Paragraph.setOrphansControl(ParagraphOrphansControl orphansControl)
Sets orphans restriction on a
Paragraph. |
Paragraph |
Paragraph.setWidowsControl(ParagraphWidowsControl widowsControl)
Sets widows restriction on a
Paragraph. |
| Constructor and Description |
|---|
ParagraphRenderer(Paragraph modelElement)
Creates a ParagraphRenderer from its corresponding layout object.
|
Copyright © 1998–2020 iText Group NV. All rights reserved.