WordRenderer.java :  » J2EE » SimpleCaptcha-1.1.1 » nl » captcha » text » renderer » Java Open Source

Java Open Source » J2EE » SimpleCaptcha 1.1.1 
SimpleCaptcha 1.1.1 » nl » captcha » text » renderer » WordRenderer.java
package nl.captcha.text.renderer;

import java.awt.image.BufferedImage;

/**
 * @author <a href="mailto:james.childers@gmail.com">James Childers</a>
 * 
 */
public interface WordRenderer {
    /**
     * Render a word to a BufferedImage.
     * 
     * @param word
     *            The word to be rendered.
     * @param width
     *            The width of the image to be created.
     * @param height
     *            The height of the image to be created.
     * @return The BufferedImage created from the word.
     */
    public void render(String word, BufferedImage image);

}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.