public class RenderedImageCachableRed extends Object implements CachableRed
构造器和说明 |
---|
RenderedImageCachableRed(RenderedImage src) |
限定符和类型 | 方法和说明 |
---|---|
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
在接口中 RenderedImage
public Rectangle getBounds()
CachableRed
getBounds
在接口中 CachableRed
public int getMinX()
getMinX
在接口中 RenderedImage
public int getMinY()
getMinY
在接口中 RenderedImage
public int getWidth()
getWidth
在接口中 RenderedImage
public int getHeight()
getHeight
在接口中 RenderedImage
public ColorModel getColorModel()
getColorModel
在接口中 RenderedImage
public SampleModel getSampleModel()
getSampleModel
在接口中 RenderedImage
public int getMinTileX()
getMinTileX
在接口中 RenderedImage
public int getMinTileY()
getMinTileY
在接口中 RenderedImage
public int getNumXTiles()
getNumXTiles
在接口中 RenderedImage
public int getNumYTiles()
getNumYTiles
在接口中 RenderedImage
public int getTileGridXOffset()
getTileGridXOffset
在接口中 RenderedImage
public int getTileGridYOffset()
getTileGridYOffset
在接口中 RenderedImage
public int getTileWidth()
getTileWidth
在接口中 RenderedImage
public int getTileHeight()
getTileHeight
在接口中 RenderedImage
public Object getProperty(String name)
getProperty
在接口中 RenderedImage
public String[] getPropertyNames()
getPropertyNames
在接口中 RenderedImage
public Raster getTile(int tileX, int tileY)
getTile
在接口中 RenderedImage
public WritableRaster copyData(WritableRaster raster)
copyData
在接口中 RenderedImage
public Raster getData()
getData
在接口中 RenderedImage
public Raster getData(Rectangle rect)
getData
在接口中 RenderedImage
public Shape getDependencyRegion(int srcIndex, Rectangle outputRgn)
CachableRed
getDependencyRegion
在接口中 CachableRed
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.public Shape getDirtyRegion(int srcIndex, Rectangle inputRgn)
CachableRed
getDirtyRegion
在接口中 CachableRed
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 1999-2016 The Apache Software Foundation. All Rights Reserved.