Class SVGPluginApi


  • public class SVGPluginApi
    extends Api
    • Method Detail

      • setPlugin

        public void setPlugin​(SVGPlugin plugin)
      • getSVGImage

        public byte[] getSVGImage​(String content,
                                  int height,
                                  int width)
                           throws IOException,
                                  org.apache.batik.apps.rasterizer.SVGConverterException
        Throws:
        IOException
        org.apache.batik.apps.rasterizer.SVGConverterException
      • getSVGImage

        public byte[] getSVGImage​(String content,
                                  String extension,
                                  int height,
                                  int width)
                           throws IOException,
                                  org.apache.batik.apps.rasterizer.SVGConverterException
        Throws:
        IOException
        org.apache.batik.apps.rasterizer.SVGConverterException
      • getSVGImageURL

        public String getSVGImageURL​(String content,
                                     int height,
                                     int width)
                              throws IOException,
                                     org.apache.batik.apps.rasterizer.SVGConverterException
        Throws:
        IOException
        org.apache.batik.apps.rasterizer.SVGConverterException
      • writeSVGImage

        public String writeSVGImage​(String content,
                                    int height,
                                    int width)
                             throws IOException,
                                    org.apache.batik.apps.rasterizer.SVGConverterException
        Throws:
        IOException
        org.apache.batik.apps.rasterizer.SVGConverterException
      • writeSVGImage

        public String writeSVGImage​(String content,
                                    String extension,
                                    int height,
                                    int width)
                             throws IOException,
                                    org.apache.batik.apps.rasterizer.SVGConverterException
        Throws:
        IOException
        org.apache.batik.apps.rasterizer.SVGConverterException
      • outputSVGImage

        public void outputSVGImage​(String content,
                                   int height,
                                   int width)
                            throws IOException,
                                   org.apache.batik.apps.rasterizer.SVGConverterException
        Throws:
        IOException
        org.apache.batik.apps.rasterizer.SVGConverterException
      • outputSVGImage

        public void outputSVGImage​(String content,
                                   String extension,
                                   int height,
                                   int width)
                            throws IOException,
                                   org.apache.batik.apps.rasterizer.SVGConverterException
        Throws:
        IOException
        org.apache.batik.apps.rasterizer.SVGConverterException
      • flushCache

        public void flushCache()