Examples of desaturate()


Examples of toxi.color.TColor.desaturate()

            if (src.brightness() - contrast * currTone.y < t) {
                c.setBrightness(t);
            } else {
                c.setBrightness(src.brightness() - contrast * currTone.y);
            }
            c.desaturate(0.05f);
            colors.add(c);
        }
        return colors;
    }

View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.