public class PDFDocumentGraphics2DConfigurator
extends java.lang.Object
| Constructor and Description |
|---|
PDFDocumentGraphics2DConfigurator() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(PDFDocumentGraphics2D graphics,
org.apache.avalon.framework.configuration.Configuration cfg)
Configures a PDFDocumentGraphics2D instance using an Avalon Configuration object.
|
static FontInfo |
createFontInfo(org.apache.avalon.framework.configuration.Configuration cfg)
Creates the
FontInfo instance for the given configuration. |
public void configure(PDFDocumentGraphics2D graphics, org.apache.avalon.framework.configuration.Configuration cfg) throws org.apache.avalon.framework.configuration.ConfigurationException
graphics - the PDFDocumentGraphics2D instancecfg - the configurationorg.apache.avalon.framework.configuration.ConfigurationException - if an error occurs while configuring the objectpublic static FontInfo createFontInfo(org.apache.avalon.framework.configuration.Configuration cfg) throws FOPException
FontInfo instance for the given configuration.cfg - the configurationFOPException - if an error occurs while setting up the fontsCopyright 1999-2010 The Apache Software Foundation. All Rights Reserved.