| java.lang.Object org.apache.xmlgraphics.image.rendered.AbstractRed org.apache.xmlgraphics.image.rendered.BufferedImageCachableRed
BufferedImageCachableRed | public class BufferedImageCachableRed extends AbstractRed (Code) | | 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.
author: Thomas DeWeese version: $Id: BufferedImageCachableRed.java 496559 2007-01-16 01:10:29Z cam $ |
BufferedImageCachableRed | public BufferedImageCachableRed(BufferedImage bi)(Code) | | Construct an instance of CachableRed around a BufferedImage.
|
BufferedImageCachableRed | public BufferedImageCachableRed(BufferedImage bi, int xloc, int yloc)(Code) | | |
copyData | public WritableRaster copyData(WritableRaster wr)(Code) | | |
getBufferedImage | public BufferedImage getBufferedImage()(Code) | | fetch the bufferedImage from this node.
|
getData | public Raster getData()(Code) | | |
getTile | public Raster getTile(int tileX, int tileY)(Code) | | |
Methods inherited from org.apache.xmlgraphics.image.rendered.AbstractRed | public static void copyBand(Raster src, int srcBand, WritableRaster dst, int dstBand)(Code)(Java Doc) public void copyToRaster(WritableRaster wr)(Code)(Java Doc) public Rectangle getBounds()(Code)(Java Doc) public ColorModel getColorModel()(Code)(Java Doc) public Raster getData()(Code)(Java Doc) public Raster getData(Rectangle rect)(Code)(Java Doc) public Shape getDependencyRegion(int srcIndex, Rectangle outputRgn)(Code)(Java Doc) public Shape getDirtyRegion(int srcIndex, Rectangle inputRgn)(Code)(Java Doc) public int getHeight()(Code)(Java Doc) public int getMinTileX()(Code)(Java Doc) public int getMinTileY()(Code)(Java Doc) public int getMinX()(Code)(Java Doc) public int getMinY()(Code)(Java Doc) public int getNumXTiles()(Code)(Java Doc) public int getNumYTiles()(Code)(Java Doc) public Object getProperty(String name)(Code)(Java Doc) public String[] getPropertyNames()(Code)(Java Doc) public SampleModel getSampleModel()(Code)(Java Doc) public Vector getSources()(Code)(Java Doc) public Raster getTile(int tileX, int tileY)(Code)(Java Doc) public int getTileGridXOffset()(Code)(Java Doc) public int getTileGridYOffset()(Code)(Java Doc) public int getTileHeight()(Code)(Java Doc) public int getTileWidth()(Code)(Java Doc) public int getWidth()(Code)(Java Doc) final public int getXTile(int xloc)(Code)(Java Doc) final public int getYTile(int yloc)(Code)(Java Doc) protected void init(CachableRed src, Rectangle bounds, ColorModel cm, SampleModel sm, int tileGridXOff, int tileGridYOff, Map props)(Code)(Java Doc) protected void init(List srcs, Rectangle bounds, ColorModel cm, SampleModel sm, int tileGridXOff, int tileGridYOff, Map props)(Code)(Java Doc) public WritableRaster makeTile(int tileX, int tileY)(Code)(Java Doc) protected void updateTileGridInfo()(Code)(Java Doc)
|
|
|