Package | Description |
---|---|
org.apache.batik.svggen |
Provides an API on top of the
AbstractGraphics2D to translate
Java 2D primitives into the SVG format. |
Modifier and Type | Class and Description |
---|---|
class |
DefaultExtensionHandler
This implementation of the ExtensionHandler interface always
returns null Nodes.
|
Modifier and Type | Field and Description |
---|---|
(package private) ExtensionHandler |
SVGGeneratorContext.extensionHandler
To deal with Java 2D extension (custom java.awt.Paint for example).
|
Modifier and Type | Method and Description |
---|---|
ExtensionHandler |
DOMTreeManager.getExtensionHandler() |
ExtensionHandler |
SVGGraphics2D.getExtensionHandler() |
ExtensionHandler |
SVGGeneratorContext.getExtensionHandler()
Returns the
ExtensionHandler that
has been set. |
Modifier and Type | Method and Description |
---|---|
static SVGGeneratorContext |
SVGGraphics2D.buildSVGGeneratorContext(org.w3c.dom.Document domFactory,
ImageHandler imageHandler,
ExtensionHandler extensionHandler)
Helper method to create an
SVGGeneratorContext from the
constructor parameters. |
(package private) void |
DOMTreeManager.setExtensionHandler(ExtensionHandler extensionHandler)
This will change the extension handler on the
SVGGeneratorContext . |
void |
SVGGraphics2D.setExtensionHandler(ExtensionHandler extensionHandler) |
void |
SVGGeneratorContext.setExtensionHandler(ExtensionHandler extensionHandler)
Sets the
ExtensionHandler
to be used. |
Constructor and Description |
---|
SVGGraphics2D(org.w3c.dom.Document domFactory,
ImageHandler imageHandler,
ExtensionHandler extensionHandler,
boolean textAsShapes) |