public class SingleTileRenderedImage extends SimpleRenderedImage
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
public SingleTileRenderedImage(Raster ras, ColorModel colorModel)
ras
- A Raster that will define tile (0, 0) of the image.cm
- A ColorModel that will serve as the image's
ColorModel.public Raster getTile(int tileX, int tileY)
Copyright © 2015–2022 SCIFIO. All rights reserved.