nl.captcha.text.renderer
Class ColoredEdgesWordRenderer
java.lang.Object
nl.captcha.text.renderer.ColoredEdgesWordRenderer
- All Implemented Interfaces:
- WordRenderer
public class ColoredEdgesWordRenderer
- extends java.lang.Object
- implements WordRenderer
Method Summary |
void |
render(java.lang.String word,
java.awt.image.BufferedImage image)
Render a word to a BufferedImage. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ColoredEdgesWordRenderer
public ColoredEdgesWordRenderer()
ColoredEdgesWordRenderer
public ColoredEdgesWordRenderer(java.util.List<java.awt.Color> colors,
java.util.List<java.awt.Font> fonts)
ColoredEdgesWordRenderer
public ColoredEdgesWordRenderer(java.util.List<java.awt.Color> colors,
java.util.List<java.awt.Font> fonts,
float strokeWidth)
render
public void render(java.lang.String word,
java.awt.image.BufferedImage image)
- Description copied from interface:
WordRenderer
- Render a word to a BufferedImage.
- Specified by:
render
in interface WordRenderer
- Parameters:
word
- The sequence of characters to be rendered.image
- The image onto which the word will be rendered.
Copyright © 2010-2011 James Childers. All Rights Reserved.