com.itextpdf.text.pdf.parser
public class TextRenderInfo extends Object
PdfContentStreamProcessor
and
RenderListener
objects as text rendering operations are
discoveredModifier and Type | Method and Description |
---|---|
LineSegment |
getAscentLine()
Gets the ascentline for the text (i.e.
|
LineSegment |
getBaseline()
Gets the baseline for the text (i.e.
|
LineSegment |
getDescentLine()
Gets the descentline for the text (i.e.
|
DocumentFont |
getFont()
Getter for the font
|
float |
getSingleSpaceWidth() |
String |
getText() |
int |
getTextRenderMode() |
boolean |
hasMcid(int mcid)
Checks if the text belongs to a marked content sequence
with a given mcid.
|
public String getText()
public boolean hasMcid(int mcid)
mcid
- a marked content idpublic LineSegment getBaseline()
public LineSegment getAscentLine()
public LineSegment getDescentLine()
public DocumentFont getFont()
public float getSingleSpaceWidth()
public int getTextRenderMode()