Class WaveGradientContext

java.lang.Object
  |
  +--WaveGradientContext
All Implemented Interfaces:
java.awt.PaintContext

public class WaveGradientContext
extends java.lang.Object
implements java.awt.PaintContext

Programm: WaveGradient
Copyright: 2002 Andreas Gohr, Frank Schubert
License: GPL2 or higher

Info: WaveGradientContext class, calculates the raster and values for the horizontal and the vertical projection.


Constructor Summary
WaveGradientContext(MonoWave mw, java.awt.Color color, java.awt.geom.AffineTransform trans)
          Constructor
 
Method Summary
 void dispose()
           
 java.awt.image.ColorModel getColorModel()
           
 java.awt.image.Raster getRaster(int x, int y, int w, int h)
          returns the calculated wave raster
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WaveGradientContext

public WaveGradientContext(MonoWave mw,
                           java.awt.Color color,
                           java.awt.geom.AffineTransform trans)
Constructor

Method Detail

dispose

public void dispose()
Specified by:
dispose in interface java.awt.PaintContext

getRaster

public java.awt.image.Raster getRaster(int x,
                                       int y,
                                       int w,
                                       int h)
returns the calculated wave raster

Specified by:
getRaster in interface java.awt.PaintContext

getColorModel

public java.awt.image.ColorModel getColorModel()
Specified by:
getColorModel in interface java.awt.PaintContext