public class PdfMarkTextElement extends PdfMarkElement<PdfMarkTextElement>
elementType, opacity, relativeContainer, rotation| Constructor and Description |
|---|
PdfMarkTextElement() |
PdfMarkTextElement(PadesVisualRectangle relativeContainer,
java.util.List<PdfTextSection> sections) |
| Modifier and Type | Method and Description |
|---|---|
PdfMarkTextElement |
addSection(PdfTextSection section) |
PdfMarkTextElement |
addSection(java.lang.String text) |
void |
addTextSection(PdfTextSection textSection) |
PdfMarkTextElement |
alignTextCenter() |
PdfMarkTextElement |
alignTextLeft() |
PdfMarkTextElement |
alignTextRight() |
PadesHorizontalAlign |
getAlign() |
java.util.List<PdfTextSection> |
getTextSections() |
void |
setAlign(PadesHorizontalAlign align) |
void |
setTextSections(java.util.List<PdfTextSection> textSections) |
com.lacunasoftware.restpki.PdfMarkElementModel |
toModel() |
getElementType, getOpacity, getRelativeContainer, getRotation, onContainer, rotate180, rotate90Clockwise, rotate90Counterclockwise, setElementType, setOpacity, setRelativeContainer, setRotation, withOpacity, withRotationpublic PdfMarkTextElement()
public PdfMarkTextElement(PadesVisualRectangle relativeContainer, java.util.List<PdfTextSection> sections)
public com.lacunasoftware.restpki.PdfMarkElementModel toModel()
toModel in class PdfMarkElement<PdfMarkTextElement>public PdfMarkTextElement alignTextLeft()
public PdfMarkTextElement alignTextRight()
public PdfMarkTextElement alignTextCenter()
public PdfMarkTextElement addSection(PdfTextSection section)
public PdfMarkTextElement addSection(java.lang.String text)
public java.util.List<PdfTextSection> getTextSections()
public void setTextSections(java.util.List<PdfTextSection> textSections)
public void addTextSection(PdfTextSection textSection)
public PadesHorizontalAlign getAlign()
public void setAlign(PadesHorizontalAlign align)