|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||


public interface RenderedImage
RenderedImage is a common interface for objects which contain or can produce image data in the form of Rasters. The image data may be stored/produced as a single tile or a regular array of tiles.
| Method Summary | |
|---|---|
WritableRaster |
copyData
Computes an arbitrary rectangular region of the RenderedImage and copies it into a caller-supplied WritableRaster. |
ColorModel |
getColorModel
Returns the ColorModel associated with this image. |
Raster |
getData
Returns the image as one large tile (for tile based images this will require fetching the whole image and copying the image data over). |
Raster |
getData
Computes and returns an arbitrary region of the RenderedImage. |
int |
getHeight
Returns the height of the RenderedImage. |
int |
getMinTileX
Returns the minimum tile index in the X direction. |
int |
getMinTileY
Returns the minimum tile index in the Y direction. |
int |
getMinX
Returns the minimum X coordinate (inclusive) of the RenderedImage. |
int |
getMinY
Returns the minimum Y coordinate (inclusive) of the RenderedImage. |
int |
getNumXTiles
Returns the number of tiles in the X direction. |
int |
getNumYTiles
Returns the number of tiles in the Y direction. |
Object |
getProperty
Gets a property from the property set of this image. |
String |
getPropertyNames
Returns an array of names recognized by getProperty(String)
or null, if no property names are recognized. |
SampleModel |
getSampleModel
Returns the SampleModel associated with this image. |
Vector |
getSources
Returns a vector of RenderedImages that are the immediate sources of image data for this RenderedImage. |
Raster |
getTile
Returns tile (tileX, tileY). |
int |
getTileGridXOffset
Returns the X offset of the tile grid relative to the origin, i.e., the X coordinate of the upper-left pixel of tile (0, 0). |
int |
getTileGridYOffset
Returns the Y offset of the tile grid relative to the origin, i.e., the Y coordinate of the upper-left pixel of tile (0, 0). |
int |
getTileHeight
Returns the tile height in pixels. |
int |
getTileWidth
Returns the tile width in pixels. |
int |
getWidth
Returns the width of the RenderedImage. |
| Method Detail |
|---|

Vector![]()
![]()
<RenderedImage
![]()
![]()
> getSources()
RenderedImage objects.

Object![]()
![]()
getProperty(String
![]()
![]()
name)
name - the name of the property
Image.UndefinedProperty


String![]()
![]()
[] getPropertyNames()
getProperty(String)
or null, if no property names are recognized.
String array containing all of the
property names that getProperty(String) recognizes;
or null if no property names are recognized.

ColorModel![]()
![]()
getColorModel()
ColorModel of this image.

SampleModel![]()
![]()
getSampleModel()
SampleModel of this image.

int getWidth()
RenderedImage.

int getHeight()
RenderedImage.

int getMinX()
RenderedImage.

int getMinY()
RenderedImage.

int getNumXTiles()

int getNumYTiles()

int getMinTileX()

int getMinTileY()

int getTileWidth()

int getTileHeight()

int getTileGridXOffset()

int getTileGridYOffset()

Raster![]()
![]()
getTile(int tileX, int tileY)
tileX - the X index of the requested tile in the tile arraytileY - the Y index of the requested tile in the tile array

Raster![]()
![]()
getData()

Raster![]()
![]()
getData(Rectangle
![]()
![]()
rect)
rect - the region of the RenderedImage to be returned.
RenderedImage
indicated by the specified Rectangle.

WritableRaster![]()
![]()
copyData(WritableRaster
![]()
![]()
raster)
raster - a WritableRaster to hold the returned portion of the
image, or null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||