public class TextInfo extends Object
| Constructor and Description |
|---|
TextInfo()
Creates a new
TextInfo instance. |
TextInfo(String text,
com.itextpdf.kernel.geom.Rectangle bbox)
Creates a new
TextInfo instance. |
TextInfo(TextInfo textInfo)
Creates a new
TextInfo instance from existing one. |
| Modifier and Type | Method and Description |
|---|---|
com.itextpdf.kernel.geom.Rectangle |
getBboxRect()
Gets bbox coordinates.
|
String |
getText()
Gets text element.
|
void |
setBboxRect(com.itextpdf.kernel.geom.Rectangle bbox)
Sets text bbox.
|
void |
setText(String newText)
Sets text element.
|
public TextInfo()
TextInfo instance.public TextInfo(TextInfo textInfo)
TextInfo instance from existing one.textInfo - to create frompublic String getText()
public void setText(String newText)
newText - retrieved textpublic com.itextpdf.kernel.geom.Rectangle getBboxRect()
Rectangle describing text bboxpublic void setBboxRect(com.itextpdf.kernel.geom.Rectangle bbox)
bbox - Rectangle describing text bboxCopyright © 1998–2023 Apryse Group NV. All rights reserved.