|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use 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". |
Uses of WordToImage in com.octo.captcha.component.image.wordtoimage |
---|
Classes in com.octo.captcha.component.image.wordtoimage that implement WordToImage | |
---|---|
class |
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. |
class |
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 |
class |
DeformedComposedWordToImage
This implementation uses deformation components to distord the image. |
class |
FilteredComposedWordToImage
Deprecated. since beta-4 : use DeformedComposedWordToImage, that now use the new deformation component. |
class |
SimpleWordToImage
Simple image to word implementation. |
Uses of WordToImage in com.octo.captcha.image.gimpy |
---|
Methods in com.octo.captcha.image.gimpy that return WordToImage | |
---|---|
WordToImage |
GimpyFactory.getWordToImage()
|
Constructors in com.octo.captcha.image.gimpy with parameters of type WordToImage | |
---|---|
GimpyFactory(WordGenerator generator,
WordToImage word2image)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |