cn.apiclub.captcha.text.renderer.WordRenderer Maven / Gradle / Ivy
The newest version!
package cn.apiclub.captcha.text.renderer;
import java.awt.image.BufferedImage;
/**
* Render the answer for the CAPTCHA onto the image.
*
* @author James Childers
*
*/
public interface WordRenderer {
/**
* Render a word to a BufferedImage.
*
* @param word The sequence of characters to be rendered.
* @param image The image onto which the word will be rendered.
*/
public void render(String word, BufferedImage image);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy