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 from
public String getText()
public void setText(String newText)
newText
- retrieved text
public com.itextpdf.kernel.geom.Rectangle getBboxRect()
Rectangle
describing text bbox
public void setBboxRect(com.itextpdf.kernel.geom.Rectangle bbox)
bbox
- Rectangle
describing text bbox
Copyright © 1998–2022 iText Group NV. All rights reserved.