public class RaysFilter extends MotionBlurOp
| 构造器和说明 |
|---|
RaysFilter() |
| 限定符和类型 | 方法和说明 |
|---|---|
BufferedImage |
filter(BufferedImage src,
BufferedImage dst) |
Colormap |
getColormap()
Get the colormap to be used for the filter.
|
float |
getOpacity()
Get the opacity of the rays.
|
boolean |
getRaysOnly()
Get whether to render only the rays.
|
float |
getStrength()
Get the strength of the rays.
|
float |
getThreshold()
Get the threshold value.
|
void |
setColormap(Colormap colormap)
Set the colormap to be used for the filter.
|
void |
setOpacity(float opacity)
Set the opacity of the rays.
|
void |
setRaysOnly(boolean raysOnly)
Set whether to render only the rays.
|
void |
setStrength(float strength)
Set the strength of the rays.
|
void |
setThreshold(float threshold)
Set the threshold value.
|
String |
toString() |
getAngle, getCentre, getCentreX, getCentreY, getDistance, getRotation, getZoom, setAngle, setCentre, setCentreX, setCentreY, setDistance, setRotation, setZoomclone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGBpublic void setOpacity(float opacity)
opacity - the opacity.getOpacity()public float getOpacity()
setOpacity(float)public void setThreshold(float threshold)
threshold - the threshold valuegetThreshold()public float getThreshold()
setThreshold(float)public void setStrength(float strength)
strength - the strength.getStrength()public float getStrength()
setStrength(float)public void setRaysOnly(boolean raysOnly)
raysOnly - true to render rays only.getRaysOnly()public boolean getRaysOnly()
setRaysOnly(boolean)public void setColormap(Colormap colormap)
colormap - the colormapgetColormap()public Colormap getColormap()
setColormap(cn.apiclub.captcha.filter.image.Colormap)public BufferedImage filter(BufferedImage src, BufferedImage dst)
filter 在接口中 BufferedImageOpfilter 在类中 MotionBlurOppublic String toString()
toString 在类中 MotionBlurOpCopyright © 2015. All rights reserved.