Package toxi.color

Examples of toxi.color.ReadonlyTColor.cyan()


public class ColorTest extends TestCase {

    public void testCMYK() {
        ReadonlyTColor c = TColor.newHex("00ffff");
        assertEquals(1f, c.cyan());
        assertEquals(0f, c.magenta());
        assertEquals(0f, c.yellow());
        assertEquals(0f, c.black());
        assertEquals(0f, TColor.WHITE.black());
        assertEquals(1f, TColor.BLACK.black());
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.