java.awt.image.RenderedImage, CachableRedpublic class PadRed extends AbstractRed
| Modifier and Type | Class | Description |
|---|---|---|
protected static class |
PadRed.ZeroRecter |
|
protected static class |
PadRed.ZeroRecter_INT_PACK |
bounds, cm, minTileX, minTileY, numXTiles, numYTiles, props, sm, srcs, tileGridXOff, tileGridYOff, tileHeight, tileWidth| Constructor | Description |
|---|---|
PadRed(CachableRed src,
java.awt.Rectangle bounds,
PadMode padMode,
java.awt.RenderingHints hints) |
Construct A Rendered Pad operation.
|
| Modifier and Type | Method | 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, updateTileGridInfopublic 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)
Copyright ? 2018 Apache Software Foundation. All Rights Reserved.