public class ColorUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static Color[] |
colorWheel |
static Color |
cyan |
static Color |
gold |
static Color |
orange |
| Constructor and Description |
|---|
ColorUtils() |
| Modifier and Type | Method and Description |
|---|---|
static Color |
darker(Color color,
double fraction)
Make a color darker.
|
static Color |
getIntermediate(Color start,
Color end,
int stepSize,
int position) |
static Color |
lighter(Color color,
double fraction)
Make a color lighter.
|
static void |
main(String[] args) |
static Color |
rotateHue(Color color,
float fraction) |
public static final Color[] colorWheel
public ColorUtils()
public static Color getIntermediate(Color start, Color end, int stepSize, int position)
public static Color darker(Color color, double fraction)
color - Color to make darker.fraction - Darkness fraction.Copyright © 2012 BioJava. All Rights Reserved.