@Internal public class SVGRenderExtension extends org.apache.batik.svggen.DefaultExtensionHandler
Taken (with permission) from https://gist.github.com/msteiger/4509119, including the fixes that are discussed in the comments
Constructor and Description |
---|
SVGRenderExtension() |
Modifier and Type | Method and Description |
---|---|
org.apache.batik.svggen.SVGGraphics2D |
getSvgGraphics2D() |
org.apache.batik.svggen.SVGPaintDescriptor |
handlePaint(java.awt.Paint paint,
org.apache.batik.svggen.SVGGeneratorContext generatorContext) |
void |
setSvgGraphics2D(org.apache.batik.svggen.SVGGraphics2D svgGraphics2D) |
public org.apache.batik.svggen.SVGGraphics2D getSvgGraphics2D()
public void setSvgGraphics2D(org.apache.batik.svggen.SVGGraphics2D svgGraphics2D)
public org.apache.batik.svggen.SVGPaintDescriptor handlePaint(java.awt.Paint paint, org.apache.batik.svggen.SVGGeneratorContext generatorContext)
handlePaint
in interface org.apache.batik.svggen.ExtensionHandler
handlePaint
in class org.apache.batik.svggen.DefaultExtensionHandler
Copyright 2022 The Apache Software Foundation or its licensors, as applicable.