java.lang.Object
slash.navigation.mapview.mapsforge.helpers.SVGHelper

public class SVGHelper extends Object
Provides SVG helpers.
Author:
Christian Pesch
  • Constructor Details

    • SVGHelper

      public SVGHelper()
  • Method Details

    • getResourceBitmap

      public static BufferedImage getResourceBitmap(Reader reader, String name, float scaleFactor, float defaultSize, int width, int height, int percent) throws IOException
      Throws:
      IOException
    • removeDocument

      public static void removeDocument(String name)
      Removes a document from the SVGUniverse cache, so that a later load of the same name reads it again. A failed load leaves a half loaded document behind - only a SAXParseException removes it - which makes every later load of that name fail, too.