public class FormatRed extends AbstractRed
bounds, cm, minTileX, minTileY, numXTiles, numYTiles, props, sm, srcs, tileGridXOff, tileGridYOff, tileHeight, tileWidth
Constructor and Description |
---|
FormatRed(CachableRed cr,
java.awt.image.ColorModel cm) |
FormatRed(CachableRed cr,
java.awt.image.SampleModel sm)
Construct an instance of CachableRed around a BufferedImage.
|
Modifier and Type | Method and Description |
---|---|
static CachableRed |
construct(CachableRed src,
java.awt.image.ColorModel cm) |
java.awt.image.WritableRaster |
copyData(java.awt.image.WritableRaster wr) |
java.lang.Object |
getProperty(java.lang.String name) |
java.lang.String[] |
getPropertyNames() |
CachableRed |
getSource()
fetch the source image for this node.
|
static java.awt.image.ColorModel |
makeColorModel(CachableRed cr,
java.awt.image.SampleModel sm) |
static java.awt.image.SampleModel |
makeSampleModel(CachableRed cr,
java.awt.image.ColorModel cm) |
copyBand, copyToRaster, getBounds, getColorModel, getData, getData, getDependencyRegion, getDirtyRegion, getHeight, getMinTileX, getMinTileY, getMinX, getMinY, getNumXTiles, getNumYTiles, getSampleModel, getSources, getTile, getTileGridXOffset, getTileGridYOffset, getTileHeight, getTileWidth, getWidth, getXTile, getYTile, init, init, makeTile, updateTileGridInfo
public FormatRed(CachableRed cr, java.awt.image.SampleModel sm)
public FormatRed(CachableRed cr, java.awt.image.ColorModel cm)
public static CachableRed construct(CachableRed src, java.awt.image.ColorModel cm)
public CachableRed getSource()
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.WritableRaster copyData(java.awt.image.WritableRaster wr)
public static java.awt.image.SampleModel makeSampleModel(CachableRed cr, java.awt.image.ColorModel cm)
public static java.awt.image.ColorModel makeColorModel(CachableRed cr, java.awt.image.SampleModel sm)
Copyright © 2022 Apache Software Foundation. All Rights Reserved.