Package com.octo.captcha.component.image.fontgenerator

Examples of com.octo.captcha.component.image.fontgenerator.TwistedAndShearedRandomFontGenerator


  public void initialize() {
    int[] redRange = { 204, 255 };
    int[] greenRange = { 204, 255 };
    int[] blueRange = { 204, 255 };
    int[] alphaRange = { 0, 255 };
    FontGenerator fontGenerator = new TwistedAndShearedRandomFontGenerator(
        fontSize, fontSize);
    BackgroundGenerator backgroundGenerator = new FunkyBackgroundGenerator(
        width, height, new RandomRangeColorGenerator(redRange,
            greenRange, blueRange, alphaRange));
    TextPaster textPaster = new RandomTextPaster(acceptedWordLength,
View Full Code Here

TOP

Related Classes of com.octo.captcha.component.image.fontgenerator.TwistedAndShearedRandomFontGenerator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.