public class PadRed extends AbstractRed
| Modifier and Type | Class and Description |
|---|---|
protected static class |
PadRed.ZeroRecter |
protected static class |
PadRed.ZeroRecter_INT_PACK |
| Modifier and Type | Field and Description |
|---|---|
(package private) static boolean |
DEBUG |
(package private) java.awt.RenderingHints |
hints |
(package private) PadMode |
padMode |
bounds, cm, minTileX, minTileY, numXTiles, numYTiles, props, sm, srcs, tileGridXOff, tileGridYOff, tileHeight, tileWidth| Constructor and Description |
|---|
PadRed(CachableRed src,
java.awt.Rectangle bounds,
PadMode padMode,
java.awt.RenderingHints hints)
Construct A Rendered Pad operation.
|
| Modifier and Type | Method and Description |
|---|---|
java.awt.image.WritableRaster |
copyData(java.awt.image.WritableRaster wr) |
protected static java.awt.image.SampleModel |
fixSampleModel(CachableRed src,
java.awt.Rectangle bounds)
This function 'fixes' the source's sample model.
|
protected void |
handleReplicate(java.awt.image.WritableRaster wr) |
protected void |
handleWrap(java.awt.image.WritableRaster wr) |
protected void |
handleZero(java.awt.image.WritableRaster wr) |
copyBand, copyToRaster, getBounds, getColorModel, getData, getData, getDependencyRegion, getDirtyRegion, getHeight, getMinTileX, getMinTileY, getMinX, getMinY, getNumXTiles, getNumYTiles, getProperty, getPropertyNames, getSampleModel, getSources, getTile, getTileGridXOffset, getTileGridYOffset, getTileHeight, getTileWidth, getWidth, getXTile, getYTile, init, init, makeTile, updateTileGridInfostatic final boolean DEBUG
PadMode padMode
java.awt.RenderingHints hints
public PadRed(CachableRed src, java.awt.Rectangle bounds, PadMode padMode, java.awt.RenderingHints hints)
src - The image to pad/cropbounds - The bounds of the result (same coord system as src).padMode - The pad mode to use (currently ignored).hints - The hints to use for drawing 'pad' area.public java.awt.image.WritableRaster copyData(java.awt.image.WritableRaster wr)
protected void handleZero(java.awt.image.WritableRaster wr)
protected void handleReplicate(java.awt.image.WritableRaster wr)
protected void handleWrap(java.awt.image.WritableRaster wr)
protected static java.awt.image.SampleModel fixSampleModel(CachableRed src, java.awt.Rectangle bounds)