com.jhlabs.image
Class ShineFilter

java.lang.Object
  extended by com.jhlabs.image.AbstractBufferedImageOp
      extended by com.jhlabs.image.ShineFilter
All Implemented Interfaces:
java.awt.image.BufferedImageOp, java.lang.Cloneable

public class ShineFilter
extends AbstractBufferedImageOp


Constructor Summary
ShineFilter()
           
 
Method Summary
 java.awt.image.BufferedImage filter(java.awt.image.BufferedImage src, java.awt.image.BufferedImage dst)
           
 float getAngle()
           
 float getBevel()
           
 float getBrightness()
           
 float getDistance()
           
 float getRadius()
          Get the radius of the kernel.
 boolean getShadowOnly()
           
 int getShineColor()
           
 float getSoftness()
           
 void setAngle(float angle)
           
 void setBevel(float bevel)
           
 void setBrightness(float brightness)
           
 void setDistance(float distance)
           
 void setRadius(float radius)
          Set the radius of the kernel, and hence the amount of blur.
 void setShadowOnly(boolean shadowOnly)
           
 void setShineColor(int shineColor)
           
 void setSoftness(float softness)
           
 java.lang.String toString()
           
 
Methods inherited from class com.jhlabs.image.AbstractBufferedImageOp
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ShineFilter

public ShineFilter()
Method Detail

setAngle

public void setAngle(float angle)

getAngle

public float getAngle()

setDistance

public void setDistance(float distance)

getDistance

public float getDistance()

setRadius

public void setRadius(float radius)
Set the radius of the kernel, and hence the amount of blur. The bigger the radius, the longer this filter will take.

Parameters:
radius - the radius of the blur in pixels.

getRadius

public float getRadius()
Get the radius of the kernel.

Returns:
the radius

setBevel

public void setBevel(float bevel)

getBevel

public float getBevel()

setShineColor

public void setShineColor(int shineColor)

getShineColor

public int getShineColor()

setShadowOnly

public void setShadowOnly(boolean shadowOnly)

getShadowOnly

public boolean getShadowOnly()

setBrightness

public void setBrightness(float brightness)

getBrightness

public float getBrightness()

setSoftness

public void setSoftness(float softness)

getSoftness

public float getSoftness()

filter

public java.awt.image.BufferedImage filter(java.awt.image.BufferedImage src,
                                           java.awt.image.BufferedImage dst)

toString

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