SUMMARY:
java.lang.Object
org.apache.batik.svggen.SwingSVGPrettyPrint
- All Implemented Interfaces:
- SVGSyntax, CSSConstants, SVGConstants, XMLConstants
public abstract class SwingSVGPrettyPrint
- extends java.lang.Object
- implements SVGSyntax
This class offers a way to create an SVG document with grouping
that reflects the Swing composite structure (container/components).
SwingSVGPrettyPrint
public SwingSVGPrettyPrint()
print
public static void print(javax.swing.JComponent cmp,
SVGGraphics2D svgGen)
- Parameters:
cmp
- Swing component to be converted to SVGsvgGen
- SVGraphics2D to use to paint Swing components