public interface ImageProvider
ClientImageManager, but in some circumstances a
simpler image provider may be desirable to avoid the overhead of the image manager
infrastructure when simple image loading is all that is desired.| Modifier and Type | Method and Description |
|---|---|
Mirage |
getTileImage(String path,
Rectangle bounds,
Colorization[] zations)
Obtains the tile image with the specified path in the form of a
Mirage. |
BufferedImage |
getTileSetImage(String path,
Colorization[] zations)
Returns the raw tileset image with the specified path.
|
BufferedImage getTileSetImage(String path, Colorization[] zations)
path - the path that identifies the desired image (corresponds to the image path from
the tileset).zations - if non-null, colorizations to apply to the source image before returning it.Mirage getTileImage(String path, Rectangle bounds, Colorization[] zations)
Mirage. It should be
cropped from the tileset image identified by the supplied path.path - the path that identifies the desired image (corresponds to the image path from
the tileset).bounds - if non-null, the region of the image to be returned as a mirage. If null, the
entire image should be returned.zations - if non-null, colorizations to apply to the image before converting it into a
mirage.Copyright © 2015. All rights reserved.