com.google.code.kaptcha.impl
Class ShadowGimpy

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

public class ShadowGimpy
extends Configurable
implements GimpyEngine

ShadowGimpy adds shadow to the text on the image and two noises.


Constructor Summary
ShadowGimpy()
           
 
Method Summary
 java.awt.image.BufferedImage getDistortedImage(java.awt.image.BufferedImage baseImage)
          Applies distortion by adding shadow to the text and also two noises.
 
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

ShadowGimpy

public ShadowGimpy()
Method Detail

getDistortedImage

public java.awt.image.BufferedImage getDistortedImage(java.awt.image.BufferedImage baseImage)
Applies distortion by adding shadow to the text and also two noises.

Specified by:
getDistortedImage in interface GimpyEngine
Parameters:
baseImage - the base image
Returns:
the distorted image


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