Class FixedScaleOpTiledBitmapImpl
java.lang.Object
VASSAL.tools.opcache.AbstractOpImpl<BufferedImage>
VASSAL.tools.imageop.AbstractOpImpl
VASSAL.tools.imageop.AbstractTiledOpImpl
VASSAL.tools.imageop.FixedScaleOpBitmapImpl
VASSAL.tools.imageop.FixedScaleOpTiledBitmapImpl
- All Implemented Interfaces:
ImageOp, ScaleOp, Op<BufferedImage>
An
ImageOp which scales its source.- Since:
- 3.1.0
- Author:
- Joel Uckelman
-
Field Summary
Fields inherited from class FixedScaleOpBitmapImpl
defaultHints, hash, hints, scale, sopFields inherited from class AbstractTiledOpImpl
numXTiles, numYTiles, tiles, tileSizeFields inherited from class AbstractOpImpl
cache, size -
Constructor Summary
ConstructorsConstructorDescriptionFixedScaleOpTiledBitmapImpl(ImageOp sop, double scale, int width, int height) Constructs anImageOpwhich will scale the image produced by its sourceImageOp.FixedScaleOpTiledBitmapImpl(ImageOp sop, double scale, int width, int height, RenderingHints hints) Constructs anImageOpwhich will scale the image produced by its sourceImageOp. -
Method Summary
Methods inherited from class FixedScaleOpBitmapImpl
equals, eval, fixSize, getHints, getScale, 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
-
FixedScaleOpTiledBitmapImpl
Constructs anImageOpwhich will scale the image produced by its sourceImageOp.- Parameters:
sop- the source operationscale- the scale factor
-
FixedScaleOpTiledBitmapImpl
public FixedScaleOpTiledBitmapImpl(ImageOp sop, double scale, int width, int height, RenderingHints hints) Constructs anImageOpwhich will scale the image produced by its sourceImageOp.- Parameters:
sop- the source operationscale- the scale factorhints- rendering hints
-
-
Method Details
-
createTileOp
- Overrides:
createTileOpin classFixedScaleOpBitmapImpl
-