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,
boolean useComplexScriptFeatures)
Configures a PDFDocumentGraphics2D instance using an Avalon Configuration object.
|
static FontInfo |
createFontInfo(org.apache.avalon.framework.configuration.Configuration cfg,
boolean useComplexScriptFeatures)
Creates the
FontInfo instance for the given configuration. |
public void configure(PDFDocumentGraphics2D graphics, org.apache.avalon.framework.configuration.Configuration cfg, boolean useComplexScriptFeatures) throws org.apache.avalon.framework.configuration.ConfigurationException
graphics
- the PDFDocumentGraphics2D instancecfg
- the configurationuseComplexScriptFeatures
- true if complex script features enabledorg.apache.avalon.framework.configuration.ConfigurationException
- if an error occurs while configuring the objectpublic static FontInfo createFontInfo(org.apache.avalon.framework.configuration.Configuration cfg, boolean useComplexScriptFeatures) throws FOPException
FontInfo
instance for the given configuration.cfg
- the configurationuseComplexScriptFeatures
- true if complex script features enabledFOPException
- if an error occurs while setting up the fontsCopyright 1999-2012 The Apache Software Foundation. All Rights Reserved.