Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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.

Constructor Summary
`TileGrid(int minTileX, int minTileY, int xSz, int ySz, TileGenerator source, LRUCache cache)`

Method Summary
`Raster` | `getTile(int x, int y)`
`Raster` | `getTileNoCompute(int x, int y)`
`void` | `setTile(int x, int y, Raster ras)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### TileGrid

    public TileGrid(int minTileX,
                    int minTileY,
                    int xSz,
                    int ySz,
                    TileGenerator source,
                    LRUCache cache)

Method Detail

### 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`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2008 Apache Software Foundation. All Rights Reserved.