public class BufferedImageCachableRed extends AbstractRed
bounds, cm, minTileX, minTileY, numXTiles, numYTiles, props, sm, srcs, tileGridXOff, tileGridYOff, tileHeight, tileWidth
Constructor and Description |
---|
BufferedImageCachableRed(java.awt.image.BufferedImage bi)
Construct an instance of CachableRed around a BufferedImage.
|
BufferedImageCachableRed(java.awt.image.BufferedImage bi,
int xloc,
int yloc) |
Modifier and Type | Method and Description |
---|---|
java.awt.image.WritableRaster |
copyData(java.awt.image.WritableRaster wr) |
java.awt.Rectangle |
getBounds()
Returns the bounds of the current image.
|
java.awt.image.BufferedImage |
getBufferedImage()
fetch the bufferedImage from this node.
|
java.awt.image.Raster |
getData() |
java.awt.image.Raster |
getData(java.awt.Rectangle rect) |
java.lang.Object |
getProperty(java.lang.String name) |
java.lang.String[] |
getPropertyNames() |
java.awt.image.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(java.awt.image.BufferedImage bi)
public BufferedImageCachableRed(java.awt.image.BufferedImage bi, int xloc, int yloc)
public java.awt.Rectangle getBounds()
CachableRed
getBounds
in interface CachableRed
getBounds
in class AbstractRed
public java.awt.image.BufferedImage getBufferedImage()
public java.lang.Object getProperty(java.lang.String name)
getProperty
in interface java.awt.image.RenderedImage
getProperty
in class AbstractRed
public java.lang.String[] getPropertyNames()
getPropertyNames
in interface java.awt.image.RenderedImage
getPropertyNames
in class AbstractRed
public java.awt.image.Raster getTile(int tileX, int tileY)
getTile
in interface java.awt.image.RenderedImage
getTile
in class AbstractRed
public java.awt.image.Raster getData()
getData
in interface java.awt.image.RenderedImage
getData
in class AbstractRed
public java.awt.image.Raster getData(java.awt.Rectangle rect)
getData
in interface java.awt.image.RenderedImage
getData
in class AbstractRed
public java.awt.image.WritableRaster copyData(java.awt.image.WritableRaster wr)
Copyright © 2022 Apache Software Foundation. All Rights Reserved.