public class TranslateRed extends AbstractRed
| Modifier and Type | Field and Description |
|---|---|
protected int |
deltaX |
protected int |
deltaY |
bounds, cm, minTileX, minTileY, numXTiles, numYTiles, props, sm, srcs, tileGridXOff, tileGridYOff, tileHeight, tileWidth| Constructor and Description |
|---|
TranslateRed(CachableRed cr,
int xloc,
int yloc)
Construct an instance of TranslateRed
|
| Modifier and Type | Method and Description |
|---|---|
WritableRaster |
copyData(WritableRaster wr) |
Raster |
getData() |
Raster |
getData(Rectangle rect) |
int |
getDeltaX()
The delata translation in x (absolute loc is available from getMinX())
|
int |
getDeltaY()
The delata translation in y (absolute loc is available from getMinY())
|
Object |
getProperty(String name) |
String[] |
getPropertyNames() |
CachableRed |
getSource()
fetch the source image for this node.
|
Raster |
getTile(int tileX,
int tileY) |
copyBand, copyToRaster, getBounds, getColorModel, getDependencyRegion, getDirtyRegion, getHeight, getMinTileX, getMinTileY, getMinX, getMinY, getNumXTiles, getNumYTiles, getSampleModel, getSources, getTileGridXOffset, getTileGridYOffset, getTileHeight, getTileWidth, getWidth, getXTile, getYTile, init, init, makeTile, updateTileGridInfopublic TranslateRed(CachableRed cr, int xloc, int yloc)
xloc - The new x coordinate of cr.getMinX().yloc - The new y coordinate of cr.getMinY().public int getDeltaX()
public int getDeltaY()
public CachableRed getSource()
public Object getProperty(String name)
getProperty in interface RenderedImagegetProperty in class AbstractRedpublic String[] getPropertyNames()
getPropertyNames in interface RenderedImagegetPropertyNames in class AbstractRedpublic Raster getTile(int tileX, int tileY)
getTile in interface RenderedImagegetTile in class AbstractRedpublic Raster getData()
getData in interface RenderedImagegetData in class AbstractRedpublic Raster getData(Rectangle rect)
getData in interface RenderedImagegetData in class AbstractRedpublic WritableRaster copyData(WritableRaster wr)
Copyright © 2000–2020 Apache Software Foundation. All rights reserved.