Class SVGToBufferedImage

java.lang.Object
repast.simphony.visualizationOGL2D.SVGToBufferedImage

public class SVGToBufferedImage extends Object
Reads an SVG file into a buffered image.
Author:
Nick Collier
  • Constructor Details

    • SVGToBufferedImage

      public SVGToBufferedImage()
  • Method Details

    • createImage

      public static BufferedImage createImage(String path, int width, int height) throws IOException, org.apache.batik.transcoder.TranscoderException
      Parameters:
      path -
      width - -1 means use default width
      height - -1 means use default height
      Returns:
      Throws:
      IOException
      org.apache.batik.transcoder.TranscoderException