Package jj.play.ns.nl.captcha.backgrounds

Examples of jj.play.ns.nl.captcha.backgrounds.FlatColorBackgroundProducer


        /**
         * Set a solid background.
         */
        public Captcha setBackground(String color) {
            background = new FlatColorBackgroundProducer(Color.decode(color));
            return this;
        }
View Full Code Here


        /**
         * Set a solid background.
         */
        public Captcha setBackground(String color) {
            background = new FlatColorBackgroundProducer(Color.decode(color));
            return this;
        }
View Full Code Here

                            public String getText() {
                                return Integer.toString(code);
                            }
                        },
                        new DefaultWordRenderer(textColor, textFonts))
                .addBackground(new FlatColorBackgroundProducer(backgroundColor))
                .gimp(new FishEyeGimpyRenderer(fishColor1, fishColor2))
                        //.addNoise()
                        //.addBorder()
                        .build();
View Full Code Here

        /**
         * Set a solid background.
         */
        public Captcha setBackground(String color) {
            background = new FlatColorBackgroundProducer(Color.decode(color));
            return this;
        }
View Full Code Here

        /**
         * Set a solid background.
         */
        public Captcha setBackground(String color) {
            background = new FlatColorBackgroundProducer(Color.decode(color));
            return this;
        }
View Full Code Here

TOP

Related Classes of jj.play.ns.nl.captcha.backgrounds.FlatColorBackgroundProducer

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.