public class ShineFilter extends AbstractBufferedImageOp
Modifier and Type | Field and Description |
---|---|
private float |
angle |
private float |
bevel |
private float |
brightness |
private float |
distance |
private float |
radius |
private boolean |
shadowOnly |
private int |
shineColor |
private float |
softness |
Constructor and Description |
---|
ShineFilter() |
Modifier and Type | Method and Description |
---|---|
BufferedImage |
filter(BufferedImage src,
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) |
String |
toString() |
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB
private float radius
private float angle
private float distance
private float bevel
private boolean shadowOnly
private int shineColor
private float brightness
private float softness
public ShineFilter()
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 BufferedImage filter(BufferedImage src, BufferedImage dst)
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses