public class PDFDocumentGraphics2DConfigurator extends Object
Constructor and Description |
---|
PDFDocumentGraphics2DConfigurator() |
Modifier and Type | Method and Description |
---|---|
void |
configure(PDFDocumentGraphics2D graphics,
Configuration cfg,
boolean useComplexScriptFeatures)
Configures a PDFDocumentGraphics2D instance using an Avalon Configuration object.
|
static FontInfo |
createFontInfo(Configuration cfg,
boolean useComplexScriptFeatures)
Creates the
FontInfo instance for the given configuration. |
public void configure(PDFDocumentGraphics2D graphics, Configuration cfg, boolean useComplexScriptFeatures) throws ConfigurationException
graphics
- the PDFDocumentGraphics2D instancecfg
- the configurationuseComplexScriptFeatures
- true if complex script features enabledConfigurationException
- if an error occurs while configuring the objectpublic static FontInfo createFontInfo(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 © 2025 Apache Software Foundation. All rights reserved.