com.jhlabs.image
Class ShadeFilter

java.lang.Object
  extended by com.jhlabs.image.AbstractBufferedImageOp
      extended by j2d.filters.WholeImageFilter
          extended by com.jhlabs.image.ShadeFilter
All Implemented Interfaces:
ImageProcessorInterface, java.awt.image.BufferedImageOp, java.io.Serializable, java.lang.Cloneable

public class ShadeFilter
extends WholeImageFilter
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
static int BUMPS_FROM_BEVEL
           
static int BUMPS_FROM_IMAGE
           
static int BUMPS_FROM_IMAGE_ALPHA
           
static int BUMPS_FROM_MAP
           
static int COLORS_CONSTANT
           
static int COLORS_FROM_IMAGE
           
 
Constructor Summary
ShadeFilter()
           
 
Method Summary
 Function2D getBumpFunction()
           
 float getBumpHeight()
           
 float getBumpSoftness()
           
 int getBumpSource()
           
 java.awt.image.BufferedImage getEnvironmentMap()
           
 void setBumpFunction(Function2D bumpFunction)
           
 void setBumpHeight(float bumpHeight)
           
 void setBumpSoftness(float bumpSoftness)
           
 void setBumpSource(int bumpSource)
           
 void setEnvironmentMap(java.awt.image.BufferedImage environmentMap)
           
 java.lang.String toString()
           
 
Methods inherited from class j2d.filters.WholeImageFilter
filter
 
Methods inherited from class com.jhlabs.image.AbstractBufferedImageOp
createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, process, setRGB
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

COLORS_FROM_IMAGE

public static final int COLORS_FROM_IMAGE
See Also:
Constant Field Values

COLORS_CONSTANT

public static final int COLORS_CONSTANT
See Also:
Constant Field Values

BUMPS_FROM_IMAGE

public static final int BUMPS_FROM_IMAGE
See Also:
Constant Field Values

BUMPS_FROM_IMAGE_ALPHA

public static final int BUMPS_FROM_IMAGE_ALPHA
See Also:
Constant Field Values

BUMPS_FROM_MAP

public static final int BUMPS_FROM_MAP
See Also:
Constant Field Values

BUMPS_FROM_BEVEL

public static final int BUMPS_FROM_BEVEL
See Also:
Constant Field Values
Constructor Detail

ShadeFilter

public ShadeFilter()
Method Detail

setBumpFunction

public void setBumpFunction(Function2D bumpFunction)

getBumpFunction

public Function2D getBumpFunction()

setBumpHeight

public void setBumpHeight(float bumpHeight)

getBumpHeight

public float getBumpHeight()

setBumpSoftness

public void setBumpSoftness(float bumpSoftness)

getBumpSoftness

public float getBumpSoftness()

setEnvironmentMap

public void setEnvironmentMap(java.awt.image.BufferedImage environmentMap)

getEnvironmentMap

public java.awt.image.BufferedImage getEnvironmentMap()

setBumpSource

public void setBumpSource(int bumpSource)

getBumpSource

public int getBumpSource()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object