public static interface TiledImageRenderer.TileSource
TiledImageRenderer
Modifier and Type | Method and Description |
---|---|
int |
getImageHeight() |
int |
getImageWidth() |
BasicTexture |
getPreview()
Return a Preview image if available.
|
int |
getRotation() |
Bitmap |
getTile(int level,
int x,
int y,
Bitmap reuse)
The tile returned by this method can be specified this way: Assuming
the image size is (width, height), first take the intersection of (0,
0) - (width, height) and (x, y) - (x + tileSize, y + tileSize).
|
int |
getTileSize()
If the source does not care about the tile size, it should use
TiledImageRenderer.suggestedTileSize(Context) |
int getTileSize()
TiledImageRenderer.suggestedTileSize(Context)
int getImageWidth()
int getImageHeight()
int getRotation()
BasicTexture getPreview()
Bitmap getTile(int level, int x, int y, Bitmap reuse)