public class ShineFilter extends AbstractBufferedImageOp
Constructor and Description |
---|
ShineFilter() |
Modifier and Type | Method and Description |
---|---|
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() |
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB, stringToColor
public void setAngle(float angle)
public float getAngle()
public void setDistance(float distance)
public float getDistance()
public void setRadius(float radius)
radius
- the radius of the blur in pixels.public float getRadius()
public void setBevel(float bevel)
public float getBevel()
public void setShineColor(int shineColor)
public int getShineColor()
public void setShadowOnly(boolean shadowOnly)
public boolean getShadowOnly()
public void setBrightness(float brightness)
public float getBrightness()
public void setSoftness(float softness)
public float getSoftness()
public java.awt.image.BufferedImage filter(java.awt.image.BufferedImage src, java.awt.image.BufferedImage dst)
public java.lang.String toString()
toString
in class java.lang.Object