public class BufferedImageCachableRed extends AbstractRed
bounds, cm, minTileX, minTileY, numXTiles, numYTiles, props, sm, srcs, tileGridXOff, tileGridYOff, tileHeight, tileWidth
Constructor and Description |
---|
BufferedImageCachableRed(BufferedImage bi)
Construct an instance of CachableRed around a BufferedImage.
|
BufferedImageCachableRed(BufferedImage bi,
int xloc,
int yloc) |
Modifier and Type | Method and Description |
---|---|
WritableRaster |
copyData(WritableRaster wr) |
Rectangle |
getBounds()
Returns the bounds of the current image.
|
BufferedImage |
getBufferedImage()
fetch the bufferedImage from this node.
|
Raster |
getData() |
Raster |
getData(Rectangle rect) |
Object |
getProperty(String name) |
String[] |
getPropertyNames() |
Raster |
getTile(int tileX,
int tileY) |
copyBand, copyToRaster, getColorModel, getDependencyRegion, getDirtyRegion, getHeight, getMinTileX, getMinTileY, getMinX, getMinY, getNumXTiles, getNumYTiles, getSampleModel, getSources, getTileGridXOffset, getTileGridYOffset, getTileHeight, getTileWidth, getWidth, getXTile, getYTile, init, init, makeTile, updateTileGridInfo
public BufferedImageCachableRed(BufferedImage bi)
public BufferedImageCachableRed(BufferedImage bi, int xloc, int yloc)
public Rectangle getBounds()
CachableRed
getBounds
in interface CachableRed
getBounds
in class AbstractRed
public BufferedImage getBufferedImage()
public Object getProperty(String name)
getProperty
in interface RenderedImage
getProperty
in class AbstractRed
public String[] getPropertyNames()
getPropertyNames
in interface RenderedImage
getPropertyNames
in class AbstractRed
public Raster getTile(int tileX, int tileY)
getTile
in interface RenderedImage
getTile
in class AbstractRed
public Raster getData()
getData
in interface RenderedImage
getData
in class AbstractRed
public Raster getData(Rectangle rect)
getData
in interface RenderedImage
getData
in class AbstractRed
public WritableRaster copyData(WritableRaster wr)
Copyright © 2000–2023 Apache Software Foundation. All rights reserved.