public class ColorUtil extends Object
Constructor and Description |
---|
ColorUtil() |
Modifier and Type | Method and Description |
---|---|
static float |
getHue(Color clr) |
static Color |
gray(int grayVal) |
static Color |
lighter(Color clr) |
static Color |
lighter(Color clr,
double saturationFraction) |
static Color |
opaque(Color clr) |
static Color |
saturate(Color clr,
double saturation) |
static Color |
setAlpha(Color clr,
int alpha) |
Copyright © 2020. All rights reserved.