public final class ColorHelper extends Object
Modifier and Type | Method and Description |
---|---|
static Color |
changeColorCyclicIncrement(Color col,
int inc)
Given the
Color , get the red, green and blue components. |
public static Color changeColorCyclicIncrement(Color col, int inc)
Color
, get the red, green and blue components.
Increment the lowest of the components by the indicated increment value.
If all the components are the same value increment in the order of red,
green and blue.col
- Color
to start withinc
- value to increment the color componentsCopyright © 1998-2016 Apache Software Foundation. All Rights Reserved.