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 Summary
Constructors Constructor Description SVGToBufferedImage()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BufferedImage
createImage(String path, int width, int height)
-
-
-
Method Detail
-
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
-
-