Class AwtBitmap

    • Constructor Detail

      • AwtBitmap

        public AwtBitmap​(java.io.InputStream inputStream)
                  throws java.io.IOException
        Throws:
        java.io.IOException
      • AwtBitmap

        public AwtBitmap​(int width,
                         int height)
      • AwtBitmap

        public AwtBitmap​(int width,
                         int height,
                         boolean hasAlpha)
      • AwtBitmap

        public AwtBitmap​(java.awt.image.BufferedImage bufferedImage)
    • Method Detail

      • compress

        public void compress​(java.io.OutputStream outputStream)
                      throws java.io.IOException
        Specified by:
        compress in interface org.mapsforge.core.graphics.Bitmap
        Throws:
        java.io.IOException
      • decrementRefCount

        public void decrementRefCount()
        Specified by:
        decrementRefCount in interface org.mapsforge.core.graphics.Bitmap
      • getHeight

        public int getHeight()
        Specified by:
        getHeight in interface org.mapsforge.core.graphics.Bitmap
      • getWidth

        public int getWidth()
        Specified by:
        getWidth in interface org.mapsforge.core.graphics.Bitmap
      • incrementRefCount

        public void incrementRefCount()
        Specified by:
        incrementRefCount in interface org.mapsforge.core.graphics.Bitmap
      • isDestroyed

        public boolean isDestroyed()
        Specified by:
        isDestroyed in interface org.mapsforge.core.graphics.Bitmap
      • scaleTo

        public void scaleTo​(int width,
                            int height)
        Specified by:
        scaleTo in interface org.mapsforge.core.graphics.Bitmap
      • setBackgroundColor

        public void setBackgroundColor​(int color)
        Specified by:
        setBackgroundColor in interface org.mapsforge.core.graphics.Bitmap