Package com.formdev.flatlaf.util
Class ColorFunctions.Mix
- java.lang.Object
-
- com.formdev.flatlaf.util.ColorFunctions.Mix
-
- All Implemented Interfaces:
ColorFunctions.ColorFunction
- Enclosing class:
- ColorFunctions
public static class ColorFunctions.Mix extends java.lang.Object implements ColorFunctions.ColorFunction
Mix two colors.- Since:
- 1.6
-
-
Constructor Summary
Constructors Constructor Description Mix(java.awt.Color color2, float weight)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
apply(float[] hsla)
java.lang.String
toString()
-
-
-
Method Detail
-
apply
public void apply(float[] hsla)
- Specified by:
apply
in interfaceColorFunctions.ColorFunction
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-