Class ColorUtil
- java.lang.Object
-
- org.locationtech.jtstest.testbuilder.ui.ColorUtil
-
public class ColorUtil extends Object
-
-
Constructor Summary
Constructors Constructor Description ColorUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Color
darker(Color clr, double fraction)
static float
getBrightness(Color clr)
static float
getHue(Color clr)
static float
getSaturation(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)
-