Class SingleTileRenderedImage
- java.lang.Object
-
- com.github.jaiimageio.impl.common.SimpleRenderedImage
-
- com.github.jaiimageio.impl.common.SingleTileRenderedImage
-
- All Implemented Interfaces:
java.awt.image.RenderedImage
public class SingleTileRenderedImage extends SimpleRenderedImage
A simple class that provides RenderedImage functionality given a Raster and a ColorModel.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.awt.image.Raster
ras
-
Fields inherited from class com.github.jaiimageio.impl.common.SimpleRenderedImage
colorModel, height, minX, minY, properties, sampleModel, sources, tileGridXOffset, tileGridYOffset, tileHeight, tileWidth, width
-
-
Constructor Summary
Constructors Constructor Description SingleTileRenderedImage(java.awt.image.Raster ras, java.awt.image.ColorModel colorModel)
Constructs a SingleTileRenderedImage based on a Raster and a ColorModel.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.image.Raster
getTile(int tileX, int tileY)
Returns the image's Raster as tile (0, 0).-
Methods inherited from class com.github.jaiimageio.impl.common.SimpleRenderedImage
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
-
-
-
-
Constructor Detail
-
SingleTileRenderedImage
public SingleTileRenderedImage(java.awt.image.Raster ras, java.awt.image.ColorModel colorModel)
Constructs a SingleTileRenderedImage based on a Raster and a ColorModel.- Parameters:
ras
- A Raster that will define tile (0, 0) of the image.colorModel
- A ColorModel that will serve as the image's ColorModel.
-
-