railo.runtime.img.filter
Class ShineFilter
java.lang.Object
railo.runtime.img.filter.AbstractBufferedImageOp
railo.runtime.img.filter.ShineFilter
- All Implemented Interfaces:
- BufferedImageOp, Cloneable, DynFiltering
public class ShineFilter
- extends AbstractBufferedImageOp
- implements DynFiltering
ShineFilter
public ShineFilter()
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 BufferedImage filter(BufferedImage src,
BufferedImage dst)
- Specified by:
filter
in interface BufferedImageOp
toString
public String toString()
- Overrides:
toString
in class Object
filter
public BufferedImage filter(BufferedImage src,
Struct parameters)
throws PageException
- Specified by:
filter
in interface DynFiltering
- Throws:
PageException
Copyright © 2012 Railo