public class SingleTileRenderedImage extends SimpleRenderedImage
colorModel, height, minX, minY, properties, sampleModel, sources, tileGridXOffset, tileGridYOffset, tileHeight, tileWidth, width
Constructor and Description |
---|
SingleTileRenderedImage(java.awt.image.Raster ras,
java.awt.image.ColorModel colorModel)
Constructs a SingleTileRenderedImage based on a Raster
and a ColorModel.
|
Modifier and Type | Method and Description |
---|---|
java.awt.image.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(java.awt.image.Raster ras, java.awt.image.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.Copyright © 2022 Apache Software Foundation. All Rights Reserved.