|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnl.captcha.text.renderer.DefaultWordRenderer
public class DefaultWordRenderer
Renders the answer onto the image.
| Constructor Summary | |
|---|---|
DefaultWordRenderer()
Use the default color (black) and fonts (Arial and Courier). |
|
DefaultWordRenderer(java.util.List<java.awt.Color> colors,
java.util.List<java.awt.Font> fonts)
Build a WordRenderer using the given Colors and
Fonts. |
|
| Method Summary | |
|---|---|
void |
render(java.lang.String word,
java.awt.image.BufferedImage image)
Render a word onto a BufferedImage. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultWordRenderer()
public DefaultWordRenderer(java.util.List<java.awt.Color> colors,
java.util.List<java.awt.Font> fonts)
WordRenderer using the given Colors and
Fonts.
colors - fonts - | Method Detail |
|---|
public void render(java.lang.String word,
java.awt.image.BufferedImage image)
render in interface WordRendererword - The word to be rendered.image - The BufferedImage onto which the word will be painted.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||