nl.captcha.text.renderer
Class ColoredEdgesWordRenderer

java.lang.Object
  extended by nl.captcha.text.renderer.ColoredEdgesWordRenderer
All Implemented Interfaces:
WordRenderer

public class ColoredEdgesWordRenderer
extends java.lang.Object
implements WordRenderer


Constructor Summary
ColoredEdgesWordRenderer()
           
ColoredEdgesWordRenderer(java.util.List<java.awt.Color> colors, java.util.List<java.awt.Font> fonts)
           
ColoredEdgesWordRenderer(java.util.List<java.awt.Color> colors, java.util.List<java.awt.Font> fonts, float strokeWidth)
           
 
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
 

Constructor Detail

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)
Method Detail

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.