Class SVGToBufferedImage
java.lang.Object
repast.simphony.visualizationOGL2D.SVGToBufferedImage
Reads an SVG file into a buffered image.
- Author:
- Nick Collier
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic BufferedImage
createImage
(String path, int width, int height)
-
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 widthheight
- -1 means use default height- Returns:
- Throws:
IOException
org.apache.batik.transcoder.TranscoderException
-