APIdia Launch Partner
Top Description Fields Constructors Methods
com.sun.imageio.plugins.common

public Class SingleTileRenderedImage

extends SimpleRenderedImage
Class Inheritance
Imports
java.awt.image.ColorModel, .Raster

A simple class that provides RenderedImage functionality given a Raster and a ColorModel.

Field Summary

Modifier and TypeField and Description
pack-priv Raster
Inherited from com.sun.imageio.plugins.common.SimpleRenderedImage:
colorModelheightminXminYpropertiessampleModelsourcestileGridXOffsettileGridYOffsettileHeighttileWidthwidth

Constructor Summary

AccessConstructor and Description
public
SingleTileRenderedImage(Raster
A Raster that will define tile (0, 0) of the image.
ras
,
ColorModel
A ColorModel that will serve as the image's ColorModel.
colorModel
)

Constructs a SingleTileRenderedImage based on a Raster and a ColorModel.

Method Summary

Modifier and TypeMethod and Description
public Raster
getTile(int tileX, int tileY)

Implements java.awt.image.RenderedImage.getTile.

Returns the image's Raster as tile (0, 0).

Inherited from com.sun.imageio.plugins.common.SimpleRenderedImage:
copyDatagetBoundsgetColorModelgetDatagetDatagetHeightgetMaxTileXgetMaxTileYgetMaxXgetMaxYgetMinTileXgetMinTileYgetMinXgetMinYgetNumXTilesgetNumYTilesgetPropertygetPropertyNamesgetPropertyNamesgetSampleModelgetSourcesgetTileGridXOffsetgetTileGridYOffsetgetTileHeightgetTileWidthgetWidthtileXToXtileXToXtileYToYtileYToYXToTileXXToTileXYToTileYYToTileY

Field Detail

rasback to summary
pack-priv Raster ras

Constructor Detail

SingleTileRenderedImageback to summary
public SingleTileRenderedImage(Raster ras, ColorModel colorModel)

Constructs a SingleTileRenderedImage based on a Raster and a ColorModel.

Parameters
ras:Raster

A Raster that will define tile (0, 0) of the image.

colorModel:ColorModel

A ColorModel that will serve as the image's ColorModel.

Method Detail

getTileback to summary
public Raster getTile(int tileX, int tileY)

Implements java.awt.image.RenderedImage.getTile.

Returns the image's Raster as tile (0, 0).

Annotations
@Override