org.jhotdraw.draw.action
Class Colors

java.lang.Object
  extended by org.jhotdraw.draw.action.Colors

public class Colors
extends java.lang.Object

Colors.

Version:
$Id: Colors.java 604 2010-01-09 12:00:29Z rawcoder $
Author:
Werner Randelshofer

Constructor Summary
private Colors()
          Prevent instance creation.
 
Method Summary
static java.awt.Color shadow(java.awt.Color c, int amount)
          Blackens the specified color by casting a black shadow of the specified amount on the color.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Colors

private Colors()
Prevent instance creation.

Method Detail

shadow

public static java.awt.Color shadow(java.awt.Color c,
                                    int amount)
Blackens the specified color by casting a black shadow of the specified amount on the color.