类 ShineFilter
- java.lang.Object
-
- org.meteoinfo.image.filter.AbstractBufferedImageOp
-
- org.meteoinfo.image.filter.ShineFilter
-
- 所有已实现的接口:
BufferedImageOp,Cloneable
public class ShineFilter extends AbstractBufferedImageOp
-
-
构造器概要
构造器 构造器 说明 ShineFilter()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 BufferedImagefilter(BufferedImage src, BufferedImage dst)floatgetAngle()floatgetBevel()floatgetBrightness()floatgetDistance()floatgetRadius()Get the radius of the kernel.booleangetShadowOnly()intgetShineColor()floatgetSoftness()voidsetAngle(float angle)voidsetBevel(float bevel)voidsetBrightness(float brightness)voidsetDistance(float distance)voidsetRadius(float radius)Set the radius of the kernel, and hence the amount of blur.voidsetShadowOnly(boolean shadowOnly)voidsetShineColor(int shineColor)voidsetSoftness(float softness)StringtoString()-
从类继承的方法 org.meteoinfo.image.filter.AbstractBufferedImageOp
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB
-
-
-
-
方法详细资料
-
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.- 参数:
radius- the radius of the blur in pixels.
-
getRadius
public float getRadius()
Get the radius of the kernel.- 返回:
- 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)
-
-