public class TiledFileMultiLevelSource extends AbstractMultiLevelSource
NULL
Constructor and Description |
---|
TiledFileMultiLevelSource(MultiLevelModel model,
Path imageDir,
Properties imageProperties) |
Modifier and Type | Method and Description |
---|---|
static TiledFileMultiLevelSource |
create(File imageDir) |
static TiledFileMultiLevelSource |
create(Path imageDir) |
RenderedImage |
createImage(int level)
Called by
AbstractMultiLevelSource.getImage(int) if a level image is requested for the first time. |
checkLevel, getImage, getImageDimension, getImageRectangle, getImageShape, getModel, reset
public TiledFileMultiLevelSource(MultiLevelModel model, Path imageDir, Properties imageProperties)
public static TiledFileMultiLevelSource create(File imageDir) throws IOException
IOException
public static TiledFileMultiLevelSource create(Path imageDir) throws IOException
IOException
public RenderedImage createImage(int level)
AbstractMultiLevelSource
AbstractMultiLevelSource.getImage(int)
if a level image is requested for the first time.
Note that images created via this method will be disposed
when AbstractMultiLevelSource.reset()
is called on this multi-level image source. See AbstractMultiLevelSource.getImage(int)
.
The dimension of the level image created must be the same as that obtained from
AbstractMultiLevelSource.getImageDimension(int, int, double)
for the scale associated with the
given resolution level.
createImage
in class AbstractMultiLevelSource
level
- The resolution level.RenderedImage
for the given resolution level.Copyright © 2014–2022 European Space Agency (ESA). All rights reserved.