public interface IPdfBoxGraphics2DFontTextDrawer
| Modifier and Type | Interface and Description |
|---|---|
static interface |
IPdfBoxGraphics2DFontTextDrawer.IFontTextDrawerEnv
Enviroment for font based drawing of text
|
| Modifier and Type | Method and 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 © 2018. All rights reserved.