org.metasyntactic.awt
Class ColorUtilities

java.lang.Object
  |
  +--org.metasyntactic.awt.ColorUtilities

public class ColorUtilities
extends java.lang.Object


Method Summary
static java.awt.Color add(java.awt.Color c1, java.awt.Color c2)
           
static java.awt.Color add(java.util.List colors)
           
static java.awt.Color fromXML(org.w3c.dom.Element element)
           
static java.awt.Color multiply(java.awt.Color c, double d)
           
static java.awt.Color multiplyFloat(java.awt.Color c, double d)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

add

public static java.awt.Color add(java.util.List colors)

add

public static java.awt.Color add(java.awt.Color c1,
                                 java.awt.Color c2)

multiplyFloat

public static java.awt.Color multiplyFloat(java.awt.Color c,
                                           double d)

multiply

public static java.awt.Color multiply(java.awt.Color c,
                                      double d)

fromXML

public static java.awt.Color fromXML(org.w3c.dom.Element element)