nl.captcha.gimpy
Class StretchGimpyRenderer

java.lang.Object
  extended by nl.captcha.gimpy.StretchGimpyRenderer
All Implemented Interfaces:
GimpyRenderer

public class StretchGimpyRenderer
extends java.lang.Object
implements GimpyRenderer

Stretch the given image over the X and Y axes. If no scale is given, defaults to an X scale of 1.0 and a Y scale of 3.0 (i.e. make the image tall but do not affect the width).

Author:
James Childers

Constructor Summary
StretchGimpyRenderer()
           
StretchGimpyRenderer(double xScale, double yScale)
           
 
Method Summary
 java.awt.image.BufferedImage gimp(java.awt.image.BufferedImage image)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StretchGimpyRenderer

public StretchGimpyRenderer()

StretchGimpyRenderer

public StretchGimpyRenderer(double xScale,
                            double yScale)
Method Detail

gimp

public java.awt.image.BufferedImage gimp(java.awt.image.BufferedImage image)
Specified by:
gimp in interface GimpyRenderer


Copyright © 2010-2011 James Childers. All Rights Reserved.