com.google.code.kaptcha.impl
Class WaterRipple
java.lang.Object
com.google.code.kaptcha.util.Configurable
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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WaterRipple
public WaterRipple()
getDistortedImage
public BufferedImage getDistortedImage(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 © 2013. All rights reserved.