Class TileCacheRed

  • All Implemented Interfaces:
    java.awt.image.RenderedImage, CachableRed, TileGenerator

    public class TileCacheRed
    extends AbstractTiledRed
    This implementation of RenderedImage only serves to put the tiles generated by it's input into the TileCache.
    Version:
    $Id: TileCacheRed.java 1733416 2016-03-03 07:07:13Z gadams $
    • Constructor Detail

      • TileCacheRed

        public TileCacheRed​(CachableRed cr)
        Place the results of computations of cr into the global tile cache.
        Parameters:
        cr - The operation to cache results from.
      • TileCacheRed

        public TileCacheRed​(CachableRed cr,
                            int tileWidth,
                            int tileHeight)
        Place the results of computations of cr into the global tile cache.
        Parameters:
        cr - The operation to cache results from.
    • Method Detail

      • genRect

        public void genRect​(java.awt.image.WritableRaster wr)
        Specified by:
        genRect in class AbstractTiledRed
      • flushCache

        public void flushCache​(java.awt.Rectangle rect)