public class RenderedImageCachableRed extends Object implements CachableRed
| Constructor and Description |
|---|
RenderedImageCachableRed(RenderedImage src) |
| Modifier and Type | Method and Description |
|---|---|
WritableRaster |
copyData(WritableRaster raster) |
Rectangle |
getBounds()
Returns the bounds of the current image.
|
ColorModel |
getColorModel() |
Raster |
getData() |
Raster |
getData(Rectangle rect) |
Shape |
getDependencyRegion(int srcIndex,
Rectangle outputRgn)
Returns the region of input data is is required to generate
outputRgn.
|
Shape |
getDirtyRegion(int srcIndex,
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() |
Object |
getProperty(String name) |
String[] |
getPropertyNames() |
SampleModel |
getSampleModel() |
Vector |
getSources() |
Raster |
getTile(int tileX,
int tileY) |
int |
getTileGridXOffset() |
int |
getTileGridYOffset() |
int |
getTileHeight() |
int |
getTileWidth() |
int |
getWidth() |
static CachableRed |
wrap(RenderedImage ri) |
public RenderedImageCachableRed(RenderedImage src)
public static CachableRed wrap(RenderedImage ri)
public Vector getSources()
getSources in interface RenderedImagepublic Rectangle getBounds()
CachableRedgetBounds in interface CachableRedpublic int getMinX()
getMinX in interface RenderedImagepublic int getMinY()
getMinY in interface RenderedImagepublic int getWidth()
getWidth in interface RenderedImagepublic int getHeight()
getHeight in interface RenderedImagepublic ColorModel getColorModel()
getColorModel in interface RenderedImagepublic SampleModel getSampleModel()
getSampleModel in interface RenderedImagepublic int getMinTileX()
getMinTileX in interface RenderedImagepublic int getMinTileY()
getMinTileY in interface RenderedImagepublic int getNumXTiles()
getNumXTiles in interface RenderedImagepublic int getNumYTiles()
getNumYTiles in interface RenderedImagepublic int getTileGridXOffset()
getTileGridXOffset in interface RenderedImagepublic int getTileGridYOffset()
getTileGridYOffset in interface RenderedImagepublic int getTileWidth()
getTileWidth in interface RenderedImagepublic int getTileHeight()
getTileHeight in interface RenderedImagepublic Object getProperty(String name)
getProperty in interface RenderedImagepublic String[] getPropertyNames()
getPropertyNames in interface RenderedImagepublic Raster getTile(int tileX, int tileY)
getTile in interface RenderedImagepublic WritableRaster copyData(WritableRaster raster)
copyData in interface RenderedImagepublic Raster getData()
getData in interface RenderedImagepublic Raster getData(Rectangle rect)
getData in interface RenderedImagepublic Shape getDependencyRegion(int srcIndex, Rectangle outputRgn)
CachableRedgetDependencyRegion 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 Shape getDirtyRegion(int srcIndex, Rectangle inputRgn)
CachableRedgetDirtyRegion 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.Copyright © 2000–2021 Apache Software Foundation. All rights reserved.