Package com.formdev.flatlaf.util
Class ColorFunctions
- java.lang.Object
-
- com.formdev.flatlaf.util.ColorFunctions
-
public class ColorFunctions extends java.lang.Object
Functions that modify colors.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
ColorFunctions.ColorFunction
static class
ColorFunctions.HSLIncreaseDecrease
Increase or decrease hue, saturation or luminance of a color in the HSL color space by an absolute or relative amount.
-
Constructor Summary
Constructors Constructor Description ColorFunctions()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.awt.Color
applyFunctions(java.awt.Color color, ColorFunctions.ColorFunction... functions)
static float
clamp(float value)
-
-
-
Method Detail
-
applyFunctions
public static java.awt.Color applyFunctions(java.awt.Color color, ColorFunctions.ColorFunction... functions)
-
clamp
public static float clamp(float value)
-
-