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, name
Fields inherited from class VASSAL.tools.imageop.AbstractTiledOpImpl
numXTiles, numYTiles, tiles, tileSize
Fields inherited from class VASSAL.tools.imageop.AbstractOpImpl
cache, size
-
Constructor Summary
ConstructorDescriptionConstructs anImageOp
which 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, toString
Methods inherited from class VASSAL.tools.imageop.AbstractTiledOpImpl
fixTileSize, getFutureTile, getNumXTiles, getNumYTiles, getTile, getTileHeight, getTileIndices, getTileOp, getTileSize, getTileWidth
Methods inherited from class VASSAL.tools.imageop.AbstractOpImpl
clearCache, getFutureImage, getFutureTile, getHeight, getImage, getImage, getSize, getSizeFromCache, getTile, getTileOp, getWidth
Methods inherited from class VASSAL.tools.opcache.AbstractOpImpl
get, get, getFuture, newKey, update
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods 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 anImageOp
which will load the given file.- Parameters:
name
- the name of the image to load- Throws:
IllegalArgumentException
- ifname
isnull
.
-
SourceOpTiledBitmapImpl
-
SourceOpTiledBitmapImpl
-
-
Method Details
-
createTileOp
- Overrides:
createTileOp
in classSourceOpBitmapImpl
-