com.octo.captcha.component.image.deformation
Class ImageDeformationByBufferedImageOp

java.lang.Object
  extended by com.octo.captcha.component.image.deformation.ImageDeformationByBufferedImageOp
All Implemented Interfaces:
ImageDeformation

public class ImageDeformationByBufferedImageOp
extends java.lang.Object
implements ImageDeformation


Constructor Summary
ImageDeformationByBufferedImageOp(java.awt.image.BufferedImageOp imageOperation)
           
ImageDeformationByBufferedImageOp(java.util.List<java.awt.image.BufferedImageOp> imageOperations)
           
 
Method Summary
 java.awt.image.BufferedImage deformImage(java.awt.image.BufferedImage image)
          Deforms an image
 void setImageOperations(java.util.List<java.awt.image.BufferedImageOp> imageOperations)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageDeformationByBufferedImageOp

public ImageDeformationByBufferedImageOp(java.util.List<java.awt.image.BufferedImageOp> imageOperations)

ImageDeformationByBufferedImageOp

public ImageDeformationByBufferedImageOp(java.awt.image.BufferedImageOp imageOperation)
Method Detail

setImageOperations

public void setImageOperations(java.util.List<java.awt.image.BufferedImageOp> imageOperations)

deformImage

public java.awt.image.BufferedImage deformImage(java.awt.image.BufferedImage image)
Description copied from interface: ImageDeformation
Deforms an image

Specified by:
deformImage in interface ImageDeformation
Parameters:
image - the image to be deformed
Returns:
the deformed image


Copyright 2003-2009 JCaptcha. All Rights Reserved.