nl.captcha.noise
Class CurvedLineNoiseProducer

java.lang.Object
  extended by nl.captcha.noise.CurvedLineNoiseProducer
All Implemented Interfaces:
NoiseProducer

public class CurvedLineNoiseProducer
extends java.lang.Object
implements NoiseProducer

Adds a randomly curved line to the image.

Author:
James Childers

Constructor Summary
CurvedLineNoiseProducer()
           
CurvedLineNoiseProducer(java.awt.Color color, float width)
           
 
Method Summary
 void makeNoise(java.awt.image.BufferedImage image)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CurvedLineNoiseProducer

public CurvedLineNoiseProducer()

CurvedLineNoiseProducer

public CurvedLineNoiseProducer(java.awt.Color color,
                               float width)
Method Detail

makeNoise

public void makeNoise(java.awt.image.BufferedImage image)
Specified by:
makeNoise in interface NoiseProducer


Copyright © 2010-2011 James Childers. All Rights Reserved.