Class TextureProviderFile

java.lang.Object
com.arubanetworks.meridian.maprender.TextureProvider
com.arubanetworks.meridian.maprender.TextureProviderFile

public class TextureProviderFile extends TextureProvider
Implementation of TextureProvider that loads a file.
  • Constructor Details

    • TextureProviderFile

      public TextureProviderFile(String filePath)
      Constructs a TextureProvider using the file provided.

      If there is an error loading the file getBitmap will return null.

  • Method Details

    • getBitmap

      public android.graphics.Bitmap getBitmap()
      Description copied from class: TextureProvider
      Gets a bitmap to be loaded as a texture.
      Specified by:
      getBitmap in class TextureProvider