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

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
All Implemented Interfaces:
FontGenerator
Direct Known Subclasses:
TwistedAndShearedRandomFontGenerator

public class TwistedRandomFontGenerator
extends RandomFontGenerator

Description:


Field Summary
 
Fields inherited from class com.octo.captcha.component.image.fontgenerator.RandomFontGenerator
defaultBadFontNamePrefixes, myRandom
 
Constructor Summary
TwistedRandomFontGenerator(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

TwistedRandomFontGenerator

public TwistedRandomFontGenerator(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 RandomFontGenerator
Parameters:
font -
Returns:
a customized font


Copyright 2003-2009 JCaptcha. All Rights Reserved.