org.apache.batik.ext.awt.image.rendered
public class TranslateRed extends AbstractRed
Field Summary | |
---|---|
protected int | deltaX |
protected int | deltaY |
Constructor Summary | |
---|---|
TranslateRed(CachableRed cr, int xloc, int yloc)
Construct an instance of TranslateRed |
Method Summary | |
---|---|
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) |
Parameters: xloc The new x coordinate of cr.getMinX(). yloc The new y coordinate of cr.getMinY().