FileDocCategorySizeDatePackage
RenderedImage.javaAPI DocAndroid 1.5 API5380Wed May 06 22:41:54 BST 2009java.awt.image

RenderedImage

public interface RenderedImage
The RenderedImage interface should be implemented by all objects which contains image data. The image data is represented as a single tile or an array of tiles.
since
Android 1.0

Fields Summary
Constructors Summary
Methods Summary
public java.awt.image.WritableRastercopyData(java.awt.image.WritableRaster raster)
Copies the region of this RenderedImage to the specified WritableRaster. The bounds of the region are the bounds of the WritableRaster.

param
raster the WritableRaster.
return
the created WritableRaster.

public java.awt.image.ColorModelgetColorModel()
Gets the ColorModel of this RenderedImage.

return
the ColorModel of this RenderedImage.

public java.awt.image.RastergetData(java.awt.Rectangle rect)
Gets the image data of the image's region as one tile.

param
rect the rectangular region of RenderedImage.
return
the image data of the image's region as one tile.

public java.awt.image.RastergetData()
Gets the image data of this image as one tile.

return
the image data of this image as one tile.

public intgetHeight()
Gets the height of the RenderedImage.

return
the height of the RenderedImage.

public intgetMinTileX()
Gets the minimum tile's index along the X direction.

return
the minimum tile's index along the X direction.

public intgetMinTileY()
Gets the minimum tile's index along the Y direction.

return
the minimum tile's index along the Y direction.

public intgetMinX()
Gets the minimum X coordinate of this RenderedImage.

return
the minimum X coordinate of this RenderedImage.

public intgetMinY()
Gets the minimum Y coordinate of this RenderedImage.

return
the minimum Y coordinate of this RenderedImage.

public intgetNumXTiles()
Gets the number of tiles along X direction.

return
the number of tiles along X direction.

public intgetNumYTiles()
Gets the number of tiles along Y direction.

return
the number of tiles along Y direction.

public java.lang.ObjectgetProperty(java.lang.String name)
Gets the property with the specified name from the property set of this RenderedImage.

param
name the property's name.
return
the property value corresponded to this property's name.

public java.lang.String[]getPropertyNames()
Gets the set of all property names for this RenderedImage.

return
the array of all property names for this RenderedImage.

public java.awt.image.SampleModelgetSampleModel()
Gets the SampleModel of this RenderedImage.

return
the SampleModel of this RenderedImage.

public java.util.VectorgetSources()
Gets all RenderedImage objects which are the source of this RenderedImage object.

return
a Vector of RenderedImage objects which are the source of this RenderedImage object or null, if there is no information about them.

public java.awt.image.RastergetTile(int tileX, int tileY)
Gets the tile corresponded to the specified indices in the tile array.

param
tileX the X index of the tile.
param
tileY the Y index of the tile.
return
the tile corresponded to the specified indices in the tile array.

public intgetTileGridXOffset()
Gets the X offset of the tile grid.

return
the X offset of the tile grid.

public intgetTileGridYOffset()
Gets the Y offset of the tile grid.

return
the Y offset of the tile grid.

public intgetTileHeight()
Gets the tile height.

return
the tile height in pixels.

public intgetTileWidth()
Gets the tile width.

return
the tile width in pixels.

public intgetWidth()
Gets the width of the RenderedImage.

return
the width of the RenderedImage.