Class SwingSVGPrettyPrint

java.lang.Object
org.apache.batik.svggen.SwingSVGPrettyPrint
All Implemented Interfaces:
XMLConstants, SVGSyntax, CSSConstants, SVGConstants

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).
  • Constructor Details

    • SwingSVGPrettyPrint

      public SwingSVGPrettyPrint()
  • Method Details

    • 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