Examples of magenta()


Examples of jline.ANSIBuffer.magenta()

    return ab.cyan(o.toString()).toString();
  }

  public String LOTUS(final Object o) {
    ANSIBuffer ab = new ANSIBuffer();
    return ab.magenta(o.toString()).toString();
  }

  public String ERROR(final Object o) {
    ANSIBuffer ab = new ANSIBuffer();
    return ab.red(o.toString()).toString();
View Full Code Here

Examples of jline.ANSIBuffer.magenta()

    return ab.cyan(o.toString()).toString();
  }

  public String LOTUS(final Object o) {
    ANSIBuffer ab = new ANSIBuffer();
    return ab.magenta(o.toString()).toString();
  }

  public String ERROR(final Object o) {
    ANSIBuffer ab = new ANSIBuffer();
    return ab.red(o.toString()).toString();
View Full Code Here

Examples of jline.ANSIBuffer.magenta()

  public String LOTUS(final Object o) {
    if (VIRTUAL_CONSOLE)
      return o.toString();
    ANSIBuffer ab = new ANSIBuffer();
    return ab.magenta(o.toString()).toString();
  }

  public String ERROR(final Object o) {
    if (VIRTUAL_CONSOLE)
      return o.toString();
View Full Code Here

Examples of toxi.color.ReadonlyTColor.magenta()

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());
        assertEquals(1f, TColor.YELLOW.yellow());
View Full Code Here

Examples of toxi.color.ReadonlyTColor.magenta()

        assertEquals(1f, TColor.GREEN.yellow());
        assertEquals(1f, TColor.RED.magenta());
        assertEquals(1f, TColor.RED.yellow());
        assertEquals(0f, TColor.RED.cyan());
        c = TColor.RED.getDarkened(0.25f);
        assertEquals(0.75f, c.magenta());
        assertEquals(0.25f, c.black());
    }

    public void testColor() {
        ReadonlyTColor c = TColor.newHex("00ffff");
View Full Code Here

Examples of toxi.color.TColor.magenta()

        assertEquals(c.blue(), d.blue());
        assertEquals(c.hue(), d.hue());
        assertEquals(c.saturation(), d.saturation());
        assertEquals(c.brightness(), d.brightness());
        assertEquals(c.cyan(), d.cyan());
        assertEquals(c.magenta(), d.magenta());
        assertEquals(c.yellow(), d.yellow());
        assertEquals(c.black(), d.black());
        assertEquals(c.alpha(), d.alpha());
    }
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.