Package VASSAL.tools.imageop
Class SourceOpTiledBitmapImpl
java.lang.Object
VASSAL.tools.opcache.AbstractOpImpl<BufferedImage>
VASSAL.tools.imageop.AbstractOpImpl
VASSAL.tools.imageop.AbstractTiledOpImpl
VASSAL.tools.imageop.SourceOpBitmapImpl
VASSAL.tools.imageop.SourceOpTiledBitmapImpl
- All Implemented Interfaces:
ImageOp,SourceOp,Op<BufferedImage>
An
ImageOp which loads an image from the DataArchive,
but produces tiles loaded from the tile cache.- Since:
- 3.2.0
- Author:
- Joel Uckelman
-
Field Summary
Fields inherited from class VASSAL.tools.imageop.SourceOpBitmapImpl
darch, farch, hash, nameFields inherited from class VASSAL.tools.imageop.AbstractTiledOpImpl
numXTiles, numYTiles, tiles, tileSizeFields inherited from class VASSAL.tools.imageop.AbstractOpImpl
cache, size -
Constructor Summary
ConstructorsConstructorDescriptionSourceOpTiledBitmapImpl(String name)Constructs anImageOpwhich will load the given file.SourceOpTiledBitmapImpl(String name, DataArchive archive)SourceOpTiledBitmapImpl(String name, FileArchive archive) -
Method Summary
Methods inherited from class VASSAL.tools.imageop.SourceOpBitmapImpl
equals, eval, fixSize, getImageSize, getInputStream, getName, getSources, hashCode, toStringMethods inherited from class VASSAL.tools.imageop.AbstractTiledOpImpl
fixTileSize, getFutureTile, getNumXTiles, getNumYTiles, getTile, getTileHeight, getTileIndices, getTileOp, getTileSize, getTileWidthMethods inherited from class VASSAL.tools.imageop.AbstractOpImpl
clearCache, getFutureImage, getFutureTile, getHeight, getImage, getImage, getSize, getSizeFromCache, getTile, getTileOp, getWidthMethods inherited from class VASSAL.tools.opcache.AbstractOpImpl
get, get, getFuture, newKey, updateMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface VASSAL.tools.imageop.ImageOp
getFutureImage, getFutureTile, getFutureTile, getHeight, getImage, getImage, getNumXTiles, getNumYTiles, getSize, getTile, getTile, getTileHeight, getTileIndices, getTileOp, getTileOp, getTileSize, getTileWidth, getWidth
-
Constructor Details
-
SourceOpTiledBitmapImpl
Constructs anImageOpwhich will load the given file.- Parameters:
name- the name of the image to load- Throws:
IllegalArgumentException- ifnameisnull.
-
SourceOpTiledBitmapImpl
-
SourceOpTiledBitmapImpl
-
-
Method Details
-
createTileOp
- Overrides:
createTileOpin classSourceOpBitmapImpl
-