|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.code.kaptcha.util.Configurable
com.google.code.kaptcha.impl.DefaultNoise
public class DefaultNoise
The default implementation of NoiseProducer
, adds a noise on an
image.
Constructor Summary | |
---|---|
DefaultNoise()
|
Method Summary | |
---|---|
void |
makeNoise(java.awt.image.BufferedImage image,
float factorOne,
float factorTwo,
float factorThree,
float factorFour)
Draws a noise on the image. |
Methods inherited from class com.google.code.kaptcha.util.Configurable |
---|
getConfig, setConfig |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultNoise()
Method Detail |
---|
public void makeNoise(java.awt.image.BufferedImage image, float factorOne, float factorTwo, float factorThree, float factorFour)
makeNoise
in interface NoiseProducer
image
- the image to add the noise tofactorOne
- factorTwo
- factorThree
- factorFour
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |