com.google.code.kaptcha.impl
Class WaterRipple

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

public class WaterRipple
extends Configurable
implements GimpyEngine

WaterRipple adds water ripple effect to an image.


Constructor Summary
WaterRipple()
           
 
Method Summary
 java.awt.image.BufferedImage getDistortedImage(java.awt.image.BufferedImage baseImage)
          Applies distortion by adding water ripple effect.
 
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

WaterRipple

public WaterRipple()
Method Detail

getDistortedImage

public java.awt.image.BufferedImage getDistortedImage(java.awt.image.BufferedImage baseImage)
Applies distortion by adding water ripple effect.

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