JHotDraw 7.4.1

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

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
 

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.


Copyright 1996-2010 (c) by the authors and contributors of the JHotDraw project.
Some rights reserved.