|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.code.kaptcha.util.Configurable
com.google.code.kaptcha.text.impl.DefaultWordRenderer
public class DefaultWordRenderer
The default implementation of WordRenderer
, creates an image with a
word rendered on it.
Constructor Summary | |
---|---|
DefaultWordRenderer()
|
Method Summary | |
---|---|
java.awt.image.BufferedImage |
renderWord(java.lang.String word,
int width,
int height)
Renders a word to an image. |
Methods inherited from class com.google.code.kaptcha.util.Configurable |
---|
getConfig, setConfig |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultWordRenderer()
Method Detail |
---|
public java.awt.image.BufferedImage renderWord(java.lang.String word, int width, int height)
renderWord
in interface WordRenderer
word
- The word to be rendered.width
- The width of the image to be created.height
- The height of the image to be created.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |