public class ShineFilter extends AbstractBufferedImageOp
filterListener
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, createCompatibleDestImage, filterDone, filterInitialize, filterProgress, filterStart, getBounds2D, getMetaData, getPoint2D, getRenderingHints, getRGB, setFilterListener, setRGB
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)
filter
in interface BufferedImageOp
filter
in class AbstractBufferedImageOp
Copyright © 2012-2013 Bambi Software Foundation. All Rights Reserved.