Class AwtSvgBitmap

  • All Implemented Interfaces:
    org.mapsforge.core.graphics.Bitmap, org.mapsforge.core.graphics.ResourceBitmap

    public class AwtSvgBitmap
    extends AwtResourceBitmap
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static float DEFAULT_SIZE
      Default size is 20x20px (400px).
    • Constructor Summary

      Constructors 
      Constructor Description
      AwtSvgBitmap​(java.io.InputStream inputStream, int hash, float scaleFactor, int width, int height, int percent)  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.awt.image.BufferedImage getResourceBitmap​(java.io.InputStream inputStream, java.lang.String name, float scaleFactor, float defaultSize, int width, int height, int percent)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.mapsforge.core.graphics.Bitmap

        compress, decrementRefCount, getHeight, getWidth, incrementRefCount, isDestroyed, scaleTo, setBackgroundColor
    • Field Detail

      • DEFAULT_SIZE

        public static float DEFAULT_SIZE
        Default size is 20x20px (400px).
    • Constructor Detail

      • AwtSvgBitmap

        public AwtSvgBitmap​(java.io.InputStream inputStream,
                            int hash,
                            float scaleFactor,
                            int width,
                            int height,
                            int percent)
                     throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • getResourceBitmap

        public static java.awt.image.BufferedImage getResourceBitmap​(java.io.InputStream inputStream,
                                                                     java.lang.String name,
                                                                     float scaleFactor,
                                                                     float defaultSize,
                                                                     int width,
                                                                     int height,
                                                                     int percent)
                                                              throws java.io.IOException
        Throws:
        java.io.IOException