|
xmlgraphics-commons 1.1 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.xmlgraphics.image.rendered.RenderedImageCachableRed
This implements CachableRed around a RenderedImage. You can use this to wrap a RenderedImage that you want to appear as a CachableRed. It essentially ignores the dependency and dirty region methods.
| Constructor Summary | |
RenderedImageCachableRed(java.awt.image.RenderedImage src)
|
|
| Method Summary | |
java.awt.image.WritableRaster |
copyData(java.awt.image.WritableRaster raster)
|
java.awt.Rectangle |
getBounds()
Returns the bounds of the current image. |
java.awt.image.ColorModel |
getColorModel()
|
java.awt.image.Raster |
getData()
|
java.awt.image.Raster |
getData(java.awt.Rectangle rect)
|
java.awt.Shape |
getDependencyRegion(int srcIndex,
java.awt.Rectangle outputRgn)
Returns the region of input data is is required to generate outputRgn. |
java.awt.Shape |
getDirtyRegion(int srcIndex,
java.awt.Rectangle inputRgn)
This calculates the region of output that is affected by a change in a region of input. |
int |
getHeight()
|
int |
getMinTileX()
|
int |
getMinTileY()
|
int |
getMinX()
|
int |
getMinY()
|
int |
getNumXTiles()
|
int |
getNumYTiles()
|
java.lang.Object |
getProperty(java.lang.String name)
|
java.lang.String[] |
getPropertyNames()
|
java.awt.image.SampleModel |
getSampleModel()
|
java.util.Vector |
getSources()
|
java.awt.image.Raster |
getTile(int tileX,
int tileY)
|
int |
getTileGridXOffset()
|
int |
getTileGridYOffset()
|
int |
getTileHeight()
|
int |
getTileWidth()
|
int |
getWidth()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public RenderedImageCachableRed(java.awt.image.RenderedImage src)
| Method Detail |
public java.util.Vector getSources()
getSources in interface java.awt.image.RenderedImagepublic java.awt.Rectangle getBounds()
CachableRed
getBounds in interface CachableRedpublic int getMinX()
getMinX in interface java.awt.image.RenderedImagepublic int getMinY()
getMinY in interface java.awt.image.RenderedImagepublic int getWidth()
getWidth in interface java.awt.image.RenderedImagepublic int getHeight()
getHeight in interface java.awt.image.RenderedImagepublic java.awt.image.ColorModel getColorModel()
getColorModel in interface java.awt.image.RenderedImagepublic java.awt.image.SampleModel getSampleModel()
getSampleModel in interface java.awt.image.RenderedImagepublic int getMinTileX()
getMinTileX in interface java.awt.image.RenderedImagepublic int getMinTileY()
getMinTileY in interface java.awt.image.RenderedImagepublic int getNumXTiles()
getNumXTiles in interface java.awt.image.RenderedImagepublic int getNumYTiles()
getNumYTiles in interface java.awt.image.RenderedImagepublic int getTileGridXOffset()
getTileGridXOffset in interface java.awt.image.RenderedImagepublic int getTileGridYOffset()
getTileGridYOffset in interface java.awt.image.RenderedImagepublic int getTileWidth()
getTileWidth in interface java.awt.image.RenderedImagepublic int getTileHeight()
getTileHeight in interface java.awt.image.RenderedImagepublic java.lang.Object getProperty(java.lang.String name)
getProperty in interface java.awt.image.RenderedImagepublic java.lang.String[] getPropertyNames()
getPropertyNames in interface java.awt.image.RenderedImage
public java.awt.image.Raster getTile(int tileX,
int tileY)
getTile in interface java.awt.image.RenderedImagepublic java.awt.image.WritableRaster copyData(java.awt.image.WritableRaster raster)
copyData in interface java.awt.image.RenderedImagepublic java.awt.image.Raster getData()
getData in interface java.awt.image.RenderedImagepublic java.awt.image.Raster getData(java.awt.Rectangle rect)
getData in interface java.awt.image.RenderedImage
public java.awt.Shape getDependencyRegion(int srcIndex,
java.awt.Rectangle outputRgn)
CachableRed
getDependencyRegion in interface CachableRedsrcIndex - The source to do the dependency calculation for.outputRgn - The region of output you are interested in
generating dependencies for. The is given in the output pixel
coordiate system for this node.
public java.awt.Shape getDirtyRegion(int srcIndex,
java.awt.Rectangle inputRgn)
CachableRed
getDirtyRegion in interface CachableRedsrcIndex - The input that inputRgn reflects changes in.inputRgn - the region of input that has changed, used to
calculate the returned shape. This is given in the pixel
coordinate system of the source indicated by srcIndex.
|
xmlgraphics-commons 1.1 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||