Package org.mapsforge.map.awt.graphics
Class AwtSvgBitmap
java.lang.Object
org.mapsforge.map.awt.graphics.AwtBitmap
org.mapsforge.map.awt.graphics.AwtResourceBitmap
org.mapsforge.map.awt.graphics.AwtSvgBitmap
- All Implemented Interfaces:
org.mapsforge.core.graphics.Bitmap,org.mapsforge.core.graphics.ResourceBitmap
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAwtSvgBitmap(InputStream inputStream, int hash, float scaleFactor, int width, int height, int percent) -
Method Summary
Modifier and TypeMethodDescriptionstatic BufferedImagegetResourceBitmap(InputStream inputStream, String name, float scaleFactor, float defaultSize, int width, int height, int percent) Methods inherited from class org.mapsforge.map.awt.graphics.AwtBitmap
compress, decrementRefCount, getHeight, getWidth, incrementRefCount, isDestroyed, scaleTo, setBackgroundColorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.mapsforge.core.graphics.Bitmap
compress, decrementRefCount, getHeight, getWidth, incrementRefCount, isDestroyed, scaleTo, setBackgroundColor
-
Field Details
-
DEFAULT_SIZE
public static float DEFAULT_SIZEDefault size is 20x20px (400px).
-
-
Constructor Details
-
AwtSvgBitmap
public AwtSvgBitmap(InputStream inputStream, int hash, float scaleFactor, int width, int height, int percent) throws IOException - Throws:
IOException
-
-
Method Details
-
getResourceBitmap
public static BufferedImage getResourceBitmap(InputStream inputStream, String name, float scaleFactor, float defaultSize, int width, int height, int percent) throws IOException - Throws:
IOException
-