Package org.jrebirth.af.core.resource.color

Examples of org.jrebirth.af.core.resource.color.ColorItem


            for (int green = 0; green < 256; green++) {

                for (int blue = 0; blue < 2; blue++) {

                    ColorItem ci = Resources.create(new RGB255Color(0, 0, 0));
                    list.add(ci.get());

                }

            }
        }
View Full Code Here


            for (int green = 0; green < 256; green++) {

                for (int blue = 0; blue < 2; blue++) {

                    ColorItem ci = Resources.create(new RGB255Color(red, green, blue));
                    list.add(ci.get());
                }

            }
        }
View Full Code Here

     *
     * @return a new fresh color item object
     */
    public static ColorItem create(final ColorParams colorParams, final String dynamicKey) {
        colorParams.setKey(dynamicKey);
        final ColorItem colorItem = create(colorParams);

        if (!colorMap.containsKey(dynamicKey)) {
            colorMap.put(dynamicKey, colorItem);
        }
        return colorItem;
View Full Code Here

TOP

Related Classes of org.jrebirth.af.core.resource.color.ColorItem

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.