Class SingleTileRenderedImage
java.lang.Object
org.apache.batik.ext.awt.image.codec.util.SimpleRenderedImage
org.apache.batik.ext.awt.image.codec.util.SingleTileRenderedImage
- All Implemented Interfaces:
RenderedImage
A simple class that provides RenderedImage functionality
given a Raster and a ColorModel.
- Version:
- $Id: SingleTileRenderedImage.java 1808001 2017-09-11 09:51:29Z ssteiner $
-
Field Summary
FieldsFields inherited from class org.apache.batik.ext.awt.image.codec.util.SimpleRenderedImage
colorModel, height, minX, minY, properties, sampleModel, sources, tileGridXOffset, tileGridYOffset, tileHeight, tileWidth, width
-
Constructor Summary
ConstructorsConstructorDescriptionSingleTileRenderedImage
(Raster ras, ColorModel colorModel) Constructs a SingleTileRenderedImage based on a Raster and a ColorModel. -
Method Summary
Methods inherited from class org.apache.batik.ext.awt.image.codec.util.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
-
Field Details
-
ras
Raster ras
-
-
Constructor Details
-
SingleTileRenderedImage
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.
-
-
Method Details
-
getTile
Returns the image's Raster as tile (0, 0).
-