Uses of Package
com.octo.captcha.component.image.wordtoimage

Packages that use com.octo.captcha.component.image.wordtoimage
com.octo.captcha.component.image.wordtoimage this package provides implementations of the WordToImage interface. 
com.octo.captcha.image.gimpy This package a struture for implementing gimpys
A gimpy is ImageCaptcha with the question "Spell the word". 
 

Classes in com.octo.captcha.component.image.wordtoimage used by com.octo.captcha.component.image.wordtoimage
AbstractWordToImage
          

Implementation skeleton for the WordToImage component Basically this class implements the imageFromWord method proceding as folow : Checks the word length Creates an java.text.AttributedString from the word Apply font to the AttributedString using the abstract method getFont Create an image for the background using the abstact method getBackround Put the text on the backround using the abstact method pasteText Return the newly created image

This class implements the Template method pattern from the GOF design patterns.

ComposedWordToImage
          Base class for composed WordToImage It extends the AbstractWord to image and uses three others Components : a FontGenerator to implement the getFont() method a BackgroundGenerator to implement the getBackround() method a TextParser to implement the pasteText() method

WordToImage
          Provides methods to tranform a word to an image.
 

Classes in com.octo.captcha.component.image.wordtoimage used by com.octo.captcha.image.gimpy
WordToImage
          Provides methods to tranform a word to an image.
 



Copyright 2003-2009 JCaptcha. All Rights Reserved.