|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectorg.apache.batik.ext.awt.image.rendered.AbstractRed
org.apache.batik.ext.awt.image.rendered.BufferedImageCachableRed
This implements CachableRed based on a BufferedImage. You can use this to wrap a BufferedImage that you want to appear as a CachableRed. It essentially ignores the dependency and dirty region methods.
| Field Summary |
|---|
| Fields inherited from class org.apache.batik.ext.awt.image.rendered.AbstractRed |
|---|
bounds, cm, minTileX, minTileY, numXTiles, numYTiles, props, sm, srcs, tileGridXOff, tileGridYOff, tileHeight, tileWidth |
| Constructor Summary | |
|---|---|
BufferedImageCachableRed(java.awt.image.BufferedImage bi)
Construct an instance of CachableRed around a BufferedImage. |
|
BufferedImageCachableRed(java.awt.image.BufferedImage bi,
int xloc,
int yloc)
|
|
| Method Summary | |
|---|---|
java.awt.image.WritableRaster |
copyData(java.awt.image.WritableRaster wr)
|
java.awt.Rectangle |
getBounds()
Returns the bounds of the current image. |
java.awt.image.BufferedImage |
getBufferedImage()
fetch the bufferedImage from this node. |
java.awt.image.Raster |
getData()
|
java.awt.image.Raster |
getData(java.awt.Rectangle rect)
|
java.lang.Object |
getProperty(java.lang.String name)
|
java.lang.String[] |
getPropertyNames()
|
java.awt.image.Raster |
getTile(int tileX,
int tileY)
|
| Methods inherited from class org.apache.batik.ext.awt.image.rendered.AbstractRed |
|---|
copyBand, copyToRaster, getColorModel, getDependencyRegion, getDirtyRegion, getHeight, getMinTileX, getMinTileY, getMinX, getMinY, getNumXTiles, getNumYTiles, getSampleModel, getSources, getTileGridXOffset, getTileGridYOffset, getTileHeight, getTileWidth, getWidth, getXTile, getYTile, init, init, makeTile, updateTileGridInfo |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public BufferedImageCachableRed(java.awt.image.BufferedImage bi)
public BufferedImageCachableRed(java.awt.image.BufferedImage bi,
int xloc,
int yloc)
| Method Detail |
public java.awt.Rectangle getBounds()
CachableRed
getBounds in interface CachableRedgetBounds in class AbstractRedpublic java.awt.image.BufferedImage getBufferedImage()
public java.lang.Object getProperty(java.lang.String name)
getProperty in interface java.awt.image.RenderedImagegetProperty in class AbstractRedpublic java.lang.String[] getPropertyNames()
getPropertyNames in interface java.awt.image.RenderedImagegetPropertyNames in class AbstractRed
public java.awt.image.Raster getTile(int tileX,
int tileY)
getTile in interface java.awt.image.RenderedImagegetTile in class AbstractRedpublic java.awt.image.Raster getData()
getData in interface java.awt.image.RenderedImagegetData in class AbstractRedpublic java.awt.image.Raster getData(java.awt.Rectangle rect)
getData in interface java.awt.image.RenderedImagegetData in class AbstractRedpublic java.awt.image.WritableRaster copyData(java.awt.image.WritableRaster wr)
|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||