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