public interface ILcdSubtiledTile extends ILcdTile
Implementations are expected to perform various optimizations based on subtiles (the most likely being caching of the data). Therefore, clients are encouraged to access the tile's data in a coherent fashion. This applies to both the retrieveValue() and createImage() methods.
As an example, an application might read values out of an ILcdTile without taking subtiling into account, by reading the values scanline by scanline. Such an application could possibly perform better if it took subtile boundaries into account, and following a scanline access pattern only within each subtile.
Modifier and Type | Method and Description |
---|---|
int |
getSubTileHeight()
Returns the height of a subtile in pixels.
|
int |
getSubTileWidth()
Returns the width of a subtile in pixels.
|
createImage, createImage, createImage, createImage, getColorModel, getHeight, getPixelSize, getType, getWidth, isAllDefault, retrieveValue
int getSubTileWidth()
int getSubTileHeight()