Package gov.nasa.worldwind.ogc.gpkg
Class GpkgBitmapFactory
- java.lang.Object
-
- gov.nasa.worldwind.ogc.gpkg.GpkgBitmapFactory
-
- All Implemented Interfaces:
ImageSource.BitmapFactory
public class GpkgBitmapFactory extends java.lang.Object implements ImageSource.BitmapFactory
-
-
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.
-
-
-
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 interfaceImageSource.BitmapFactory
- Returns:
- the bitmap associated with this factory
-
-