public class FormatRed extends AbstractRed
bounds, cm, minTileX, minTileY, numXTiles, numYTiles, props, sm, srcs, tileGridXOff, tileGridYOff, tileHeight, tileWidth
Constructor and Description |
---|
FormatRed(CachableRed cr,
ColorModel cm) |
FormatRed(CachableRed cr,
SampleModel sm)
Construct an instance of CachableRed around a BufferedImage.
|
Modifier and Type | Method and Description |
---|---|
static CachableRed |
construct(CachableRed src,
ColorModel cm) |
WritableRaster |
copyData(WritableRaster wr) |
Object |
getProperty(String name) |
String[] |
getPropertyNames() |
CachableRed |
getSource()
fetch the source image for this node.
|
static ColorModel |
makeColorModel(CachableRed cr,
SampleModel sm) |
static SampleModel |
makeSampleModel(CachableRed cr,
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, SampleModel sm)
public FormatRed(CachableRed cr, ColorModel cm)
public static CachableRed construct(CachableRed src, ColorModel cm)
public CachableRed getSource()
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 WritableRaster copyData(WritableRaster wr)
public static SampleModel makeSampleModel(CachableRed cr, ColorModel cm)
public static ColorModel makeColorModel(CachableRed cr, SampleModel sm)
Copyright © 2000–2023 Apache Software Foundation. All rights reserved.