org.apache.batik.svggen

Class SwingSVGPrettyPrint

public abstract class SwingSVGPrettyPrint extends Object implements SVGSyntax

This class offers a way to create an SVG document with grouping that reflects the Swing composite structure (container/components).
Method Summary
static voidprint(JComponent cmp, SVGGraphics2D svgGen)

Method Detail

print

public static void print(JComponent cmp, SVGGraphics2D svgGen)

Parameters: cmp Swing component to be converted to SVG svgGen SVGraphics2D to use to paint Swing components

Copyright B) 2007 Apache Software Foundation. All Rights Reserved.