public class TextureProviderFile extends TextureProvider
Implementation of TextureProvider that loads a file.
TextureProvider.OverlayType| Constructor and Description |
|---|
TextureProviderFile(java.lang.String filePath)
Constructs a TextureProvider using the file provided.
|
| Modifier and Type | Method and Description |
|---|---|
android.graphics.Bitmap |
getBitmap()
Gets a bitmap to be loaded as a texture.
|
getId, getNativeBitmap, getOverlayColor, getOverlayColorInterface, getOverlayFillColor, getOverlayFillColorInterface, getOverlayPoints, getOverlayPointsInterface, getOverlayType, getOverlayTypeInterface, getOverlayWidth, getOverlayWidthInterface, getSize, overlayClosed, setSizepublic TextureProviderFile(java.lang.String filePath)
Constructs a TextureProvider using the file provided. If there is an error loading the file getBitmap will return null.
public android.graphics.Bitmap getBitmap()
TextureProviderGets a bitmap to be loaded as a texture.
getBitmap in class TextureProvider