com.jtattoo.plaf
Class ColorHelper
java.lang.Object
com.jtattoo.plaf.ColorHelper
public class ColorHelper
- extends Object
- Author:
- Michael Hagen
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
createColor
public static final Color createColor(int r,
int g,
int b)
createColorArr
public static Color[] createColorArr(Color c1,
Color c2,
int steps)
brighter
public static Color brighter(Color c,
double p)
darker
public static Color darker(Color c,
double p)
median
public static Color median(Color c1,
Color c2)
getGrayValue
public static int getGrayValue(Color c)
toGray
public static Color toGray(Color c)
Copyright © 2011. All Rights Reserved.