Sha256: 53cf9666d4ef8201cb28de16b3d55a99c07fc5bfa9a3c1ba2324e0dd53487e3f

Contents?: true

Size: 1.99 KB

Versions: 11

Compression:

Stored size: 1.99 KB

Contents

/*
 * This library adds PovRAY export facility to toxiclibscore
 * Copyright (c) 2015 Martin Prout
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 *
 * http://creativecommons.org/licenses/LGPL/2.1/
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with this library; if not, write to the Free Software Foundation, Inc.,
 * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
 */
package toxi.processing;

/**
 * Rainbow colors without transparency
 * @author Martin Prout
 */
public enum RCOpaque  {
    /**
     * 
     */
    RED("r_red1", "color rgb<1.0, 0.5, 1.0>;"), 
    /**
     * 
     */
    RED1("r_red2", "color rgb<1.0, 0.2, 0.2>;"),
    /**
     * 
     */
    ORANGE("r_orange", "color rgb<1.0, 0.5, 0.2>;"),
    /**
     * 
     */
    YELLOW("r_yellow", "color rgb<1.0, 1.0, 0.2>;"),
    /**
     * 
     */
    GREEN("r_green", "color rgb<0.2, 1.0, 0.2>;"),
    /**
     * 
     */
    CYAN("r_cyan", "color rgb<0.2, 1.0, 1.0>;"),
    /**
     * 
     */
    BLUE("r_blue", "color rgb<0.2, 0.2, 1.0>;"),
    /**
     * 
     */
    INDIGO("r_indigo", "color rgb<0.5, 0.5, 1.0>;"), 
    /**
     * 
     */
    VIOLET("r_violet1", "color rgb<1.0, 0.5, 1.0>;"), 
    /**
     * 
     */
    VIOLET1("r_violet2", "color rgb<1.0, 0.5, 1.0>;");
    private final String cname;
    private final String declare;
  
    RCOpaque(String cname, String declare){
        this.cname = cname;
        this.declare = declare;
    }
    String getDeclare(){return this.declare;}
    String getColor(){return this.cname;}
}

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
toxiclibs-2.1.0 src/main/java/toxi/processing/RCOpaque.java
toxiclibs-2.0.0 src/main/java/toxi/processing/RCOpaque.java
toxiclibs-1.0.0 src/toxi/processing/RCOpaque.java
toxiclibs-0.9.3 src/toxi/processing/RCOpaque.java
toxiclibs-0.9.2 src/toxi/processing/RCOpaque.java
toxiclibs-0.9.1 src/toxi/processing/RCOpaque.java
toxiclibs-0.9.0 src/toxi/processing/RCOpaque.java
toxiclibs-0.8.0 src/toxi/processing/RCOpaque.java
toxiclibs-0.6.0-java src/toxi/processing/RCOpaque.java
toxiclibs-0.5.1-java src/toxi/processing/RCOpaque.java
toxiclibs-0.5.0-java src/toxi/processing/RCOpaque.java