org.apache.batik.ext.awt.image.rendered
Class TileGrid
java.lang.Object
org.apache.batik.ext.awt.image.rendered.TileGrid
- All Implemented Interfaces:
- TileStore
public class TileGrid
- extends Object
- implements TileStore
This is a Grid based implementation of the TileStore.
This makes it pretty quick, but it can use a fair amount of
memory for large tile grids.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TileGrid
public TileGrid(int minTileX,
int minTileY,
int xSz,
int ySz,
TileGenerator source,
LRUCache cache)
setTile
public void setTile(int x,
int y,
Raster ras)
- Specified by:
setTile
in interface TileStore
getTileNoCompute
public Raster getTileNoCompute(int x,
int y)
- Specified by:
getTileNoCompute
in interface TileStore
getTile
public Raster getTile(int x,
int y)
- Specified by:
getTile
in interface TileStore
Copyright © 2008 Apache Software Foundation. All Rights Reserved.