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 SourceOpBitmapImpl
darch, farch, hash, nameFields inherited from class AbstractTiledOpImpl
numXTiles, numYTiles, tiles, tileSizeFields inherited from class AbstractOpImpl
cache, size -
Constructor Summary
ConstructorsConstructorDescriptionConstructs anImageOpwhich will load the given file.SourceOpTiledBitmapImpl(String name, DataArchive archive) SourceOpTiledBitmapImpl(String name, FileArchive archive) -
Method Summary
Methods inherited from class SourceOpBitmapImpl
equals, eval, fixSize, getImageSize, getInputStream, getName, getSources, hashCode, toStringMethods inherited from class AbstractTiledOpImpl
fixTileSize, getFutureTile, getNumXTiles, getNumYTiles, getTile, getTileHeight, getTileIndices, getTileOp, getTileSize, getTileWidthMethods inherited from class AbstractOpImpl
clearCache, getFutureImage, getFutureTile, getHeight, getImage, getImage, getSize, getSizeFromCache, getTile, getTileOp, getWidthMethods inherited from interface 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
-