Class SVGToBufferedImage
java.lang.Object
repast.simphony.visualizationOGL2D.SVGToBufferedImage
Reads an SVG file into a buffered image.
- Author:
- Nick Collier
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic BufferedImagecreateImage(String path, int width, int height) 
- 
Constructor Details- 
SVGToBufferedImagepublic SVGToBufferedImage()
 
- 
- 
Method Details- 
createImagepublic 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
 
 
-