net.sf.josceleton.commons.util
Class ColorUtil

java.lang.Object
  extended by net.sf.josceleton.commons.util.ColorUtil

public final class ColorUtil
extends Object

Since:
0.4

Method Summary
static Color brighten(Color original, int volume)
           
static Color darken(Color original, int volume)
           
static Color newRandomColor()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

newRandomColor

public static Color newRandomColor()
Since:
0.4

brighten

public static Color brighten(Color original,
                             int volume)
Parameters:
volume - 0 to 100
Since:
0.4

darken

public static Color darken(Color original,
                           int volume)
Parameters:
volume - 0 to 100
Since:
0.4


Copyright © 2011 Josceleton. All Rights Reserved.