j2d.filters
Class ChromeFilter

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

public class ChromeFilter
extends LightFilter

A filter which simulates chrome.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.jhlabs.image.LightFilter
LightFilter.AmbientLight, LightFilter.DistantLight, LightFilter.Light, LightFilter.Material, LightFilter.PointLight, LightFilter.SpotLight
 
Field Summary
 
Fields inherited from class com.jhlabs.image.LightFilter
AMBIENT, BUMPS_FROM_BEVEL, BUMPS_FROM_IMAGE, BUMPS_FROM_IMAGE_ALPHA, BUMPS_FROM_MAP, COLORS_CONSTANT, COLORS_FROM_IMAGE, DISTANT, POINT, SPOT
 
Constructor Summary
ChromeFilter()
           
 
Method Summary
 java.awt.image.BufferedImage filter(java.awt.image.BufferedImage src, java.awt.image.BufferedImage dst)
           
 float getAmount()
           
 float getExposure()
           
 void setAmount(float amount)
           
 void setExposure(float exposure)
           
 java.lang.String toString()
           
 
Methods inherited from class com.jhlabs.image.LightFilter
addLight, getBumpFunction, getBumpHeight, getBumpShape, getBumpSoftness, getBumpSource, getColorSource, getDiffuseColor, getEnvironmentMap, getLights, getViewDistance, phongShade, removeLight, setBumpFunction, setBumpHeight, setBumpShape, setBumpSoftness, setBumpSource, setColorSource, setDiffuseColor, setEnvironmentMap, setViewDistance
 
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
 

Constructor Detail

ChromeFilter

public ChromeFilter()
Method Detail

setAmount

public void setAmount(float amount)

getAmount

public float getAmount()

setExposure

public void setExposure(float exposure)

getExposure

public float getExposure()

filter

public java.awt.image.BufferedImage filter(java.awt.image.BufferedImage src,
                                           java.awt.image.BufferedImage dst)
Specified by:
filter in interface java.awt.image.BufferedImageOp
Overrides:
filter in class WholeImageFilter

toString

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