com.google.code.kaptcha.impl
Class NoNoise

java.lang.Object
  extended by com.google.code.kaptcha.util.Configurable
      extended by com.google.code.kaptcha.impl.NoNoise
All Implemented Interfaces:
NoiseProducer

public class NoNoise
extends Configurable
implements NoiseProducer

Imlemention of NoiseProducer that does nothing.

Author:
Yuxing Wang

Constructor Summary
NoNoise()
           
 
Method Summary
 void makeNoise(java.awt.image.BufferedImage image, float factorOne, float factorTwo, float factorThree, float factorFour)
          Adds noise to an 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

NoNoise

public NoNoise()
Method Detail

makeNoise

public void makeNoise(java.awt.image.BufferedImage image,
                      float factorOne,
                      float factorTwo,
                      float factorThree,
                      float factorFour)
Description copied from interface: NoiseProducer
Adds noise to an image. It uses four factor values to determine the noise curve.

Specified by:
makeNoise in interface NoiseProducer
Parameters:
image - the image to add the noise to


Copyright © 2010 Kaptcha. All Rights Reserved. Build version: 2.3.2