public interface CachableRed extends RenderedImage
Modifier and Type | Method and Description |
---|---|
Rectangle |
getBounds()
Returns the bounds of the current image.
|
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.
|
copyData, getColorModel, getData, getData, getHeight, getMinTileX, getMinTileY, getMinX, getMinY, getNumXTiles, getNumYTiles, getProperty, getPropertyNames, getSampleModel, getSources, getTile, getTileGridXOffset, getTileGridYOffset, getTileHeight, getTileWidth, getWidth
Rectangle getBounds()
Shape getDependencyRegion(int srcIndex, Rectangle outputRgn)
srcIndex
- 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.Shape getDirtyRegion(int srcIndex, Rectangle inputRgn)
srcIndex
- 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–2023 Apache Software Foundation. All rights reserved.