public final class ColorHelper
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.awt.Color |
changeColorCyclicIncrement(java.awt.Color col,
int inc)
Given the
Color , get the red, green and blue components. |
public static java.awt.Color changeColorCyclicIncrement(java.awt.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-2019 Apache Software Foundation. All Rights Reserved.