Class GpkgBitmapFactory

    • Constructor Summary

      Constructors 
      Constructor Description
      GpkgBitmapFactory​(GpkgContent tiles, int zoomLevel, int tileColumn, int tileRow)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      android.graphics.Bitmap createBitmap()
      Returns the bitmap associated with this factory.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GpkgBitmapFactory

        public GpkgBitmapFactory​(GpkgContent tiles,
                                 int zoomLevel,
                                 int tileColumn,
                                 int tileRow)
    • Method Detail

      • createBitmap

        public android.graphics.Bitmap createBitmap()
        Description copied from interface: ImageSource.BitmapFactory
        Returns the bitmap associated with this factory. This method may be called more than once and may be called from a non-UI thread. Each invocation must return a bitmap with equivalent content, dimensions and configuration. Any side effects applied to the WorldWind scene by the factory must be executed on the main thread.
        The factory must not retain any reference to the returned bitmap and must not attempt to recycle the bitmap.
        Specified by:
        createBitmap in interface ImageSource.BitmapFactory
        Returns:
        the bitmap associated with this factory