PdfBoxGraphics2DFontTextDrawer, PdfBoxGraphics2DFontTextDrawerDefaultFonts, PdfBoxGraphics2DFontTextForcedDrawerpublic interface IPdfBoxGraphics2DFontTextDrawer
| Modifier and Type | Interface | Description |
|---|---|---|
static interface |
IPdfBoxGraphics2DFontTextDrawer.IFontTextDrawerEnv |
Enviroment for font based drawing of text
|
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
canDrawText(AttributedCharacterIterator iterator,
IPdfBoxGraphics2DFontTextDrawer.IFontTextDrawerEnv env) |
|
void |
drawText(AttributedCharacterIterator iterator,
IPdfBoxGraphics2DFontTextDrawer.IFontTextDrawerEnv env) |
boolean canDrawText(AttributedCharacterIterator iterator, IPdfBoxGraphics2DFontTextDrawer.IFontTextDrawerEnv env) throws IOException, FontFormatException
iterator - Has the text and all its propertiesenv - EnvironmentIOException - when a font can not be loaded or a paint can't be applied.FontFormatExceptionvoid drawText(AttributedCharacterIterator iterator, IPdfBoxGraphics2DFontTextDrawer.IFontTextDrawerEnv env) throws IOException, FontFormatException
iterator - The text with all propertiesenv - EnvironmentIOExceptionFontFormatExceptionCopyright © 2017. All rights reserved.