com.octo.captcha.component.image.fontgenerator
Class TwistedAndShearedRandomFontGenerator

java.lang.Object
  extended by com.octo.captcha.component.image.fontgenerator.AbstractFontGenerator
      extended by com.octo.captcha.component.image.fontgenerator.RandomFontGenerator
          extended by com.octo.captcha.component.image.fontgenerator.TwistedRandomFontGenerator
              extended by com.octo.captcha.component.image.fontgenerator.TwistedAndShearedRandomFontGenerator
All Implemented Interfaces:
FontGenerator

public class TwistedAndShearedRandomFontGenerator
extends TwistedRandomFontGenerator

Description:


Field Summary
 
Fields inherited from class com.octo.captcha.component.image.fontgenerator.RandomFontGenerator
defaultBadFontNamePrefixes, myRandom
 
Constructor Summary
TwistedAndShearedRandomFontGenerator(java.lang.Integer minFontSize, java.lang.Integer maxFontSize)
           
 
Method Summary
protected  java.awt.Font applyCustomDeformationOnGeneratedFont(java.awt.Font font)
          Provides a way for children class to customize the generated font array
 
Methods inherited from class com.octo.captcha.component.image.fontgenerator.RandomFontGenerator
applyStyle, cleanFontList, getBadFontNamePrefixes, getFont, getRequiredCharacters, setBadFontNamePrefixes, setRequiredCharacters
 
Methods inherited from class com.octo.captcha.component.image.fontgenerator.AbstractFontGenerator
getMaxFontSize, getMinFontSize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TwistedAndShearedRandomFontGenerator

public TwistedAndShearedRandomFontGenerator(java.lang.Integer minFontSize,
                                            java.lang.Integer maxFontSize)
Method Detail

applyCustomDeformationOnGeneratedFont

protected java.awt.Font applyCustomDeformationOnGeneratedFont(java.awt.Font font)
Provides a way for children class to customize the generated font array

Overrides:
applyCustomDeformationOnGeneratedFont in class TwistedRandomFontGenerator
Parameters:
font -
Returns:
a customized font


Copyright 2003-2009 JCaptcha. All Rights Reserved.