public class SingleTileRenderedImage extends SimpleRenderedImage
Modifier and Type | Field and Description |
---|---|
(package private) Raster |
ras |
colorModel, height, minX, minY, properties, sampleModel, sources, tileGridXOffset, tileGridYOffset, tileHeight, tileWidth, width
Constructor and Description |
---|
SingleTileRenderedImage(Raster ras,
ColorModel colorModel)
Constructs a SingleTileRenderedImage based on a Raster
and a ColorModel.
|
Modifier and Type | Method and Description |
---|---|
Raster |
getTile(int tileX,
int tileY)
Returns the image's Raster as tile (0, 0).
|
copyData, getBounds, getColorModel, getData, getData, getHeight, getMaxTileX, getMaxTileY, getMaxX, getMaxY, getMinTileX, getMinTileY, getMinX, getMinY, getNumXTiles, getNumYTiles, getProperty, getPropertyNames, getPropertyNames, getSampleModel, getSources, getTileGridXOffset, getTileGridYOffset, getTileHeight, getTileWidth, getWidth, tileXToX, tileXToX, tileYToY, tileYToY, XToTileX, XToTileX, YToTileY, YToTileY
Raster ras
public SingleTileRenderedImage(Raster ras, ColorModel colorModel)
ras
- A Raster that will define tile (0, 0) of the image.colorModel
- A ColorModel that will serve as the image's
ColorModel.public Raster getTile(int tileX, int tileY)
Copyright © 2017 Open Microscopy Environment