Class SVGToBufferedImage


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

      • SVGToBufferedImage

        public SVGToBufferedImage()
    • 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 width
        height - -1 means use default height
        Returns:
        Throws:
        IOException
        org.apache.batik.transcoder.TranscoderException