Class TextureProviderFile
java.lang.Object
com.arubanetworks.meridian.maprender.TextureProvider
com.arubanetworks.meridian.maprender.TextureProviderFile
Implementation of
TextureProvider that loads a file.-
Nested Class Summary
Nested classes/interfaces inherited from class com.arubanetworks.meridian.maprender.TextureProvider
TextureProvider.OverlayType -
Constructor Summary
ConstructorsConstructorDescriptionTextureProviderFile(String filePath) Constructs a TextureProvider using the file provided. -
Method Summary
Modifier and TypeMethodDescriptionandroid.graphics.BitmapGets a bitmap to be loaded as a texture.Methods inherited from class com.arubanetworks.meridian.maprender.TextureProvider
getId, getNativeBitmap, getOverlayColor, getOverlayColorInterface, getOverlayFillColor, getOverlayFillColorInterface, getOverlayPoints, getOverlayPointsInterface, getOverlayType, getOverlayTypeInterface, getOverlayWidth, getOverlayWidthInterface, getSize, overlayClosed, setSize
-
Constructor Details
-
TextureProviderFile
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:TextureProviderGets a bitmap to be loaded as a texture.- Specified by:
getBitmapin classTextureProvider
-