java.awt.image.RenderedImage
public class SingleTileRenderedImage extends SimpleRenderedImage
colorModel, height, minX, minY, properties, sampleModel, tileGridXOffset, tileGridYOffset, tileHeight, tileWidth, width
Constructor | 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 | Description |
---|---|---|
java.awt.image.Raster |
getTile(int tileX,
int tileY) |
Returns the image's Raster as tile (0, 0).
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
convertXToTileX, convertXToTileX, convertYToTileY, convertYToTileY, 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
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 1999-2016 The Apache Software Foundation. All Rights Reserved.