JHotDraw 7.0.6

org.jhotdraw.draw.action
Class Colors

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

public class Colors
extends java.lang.Object

Colors.


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-2006 © JHotDraw.org