public class ShineFilter extends AbstractBufferedImageOp implements DynFiltering
Constructor and Description |
---|
ShineFilter() |
Modifier and Type | Method and Description |
---|---|
BufferedImage |
filter(BufferedImage src,
BufferedImage dst) |
BufferedImage |
filter(BufferedImage src,
Struct parameters) |
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
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)
filter
in interface BufferedImageOp
public BufferedImage filter(BufferedImage src, Struct parameters) throws PageException
filter
in interface DynFiltering
PageException
Copyright © 2015 Lucee