Class ColorFunctions.Mix2
java.lang.Object
com.formdev.flatlaf.util.ColorFunctions.Mix2
- All Implemented Interfaces:
ColorFunctions.ColorFunction
- Enclosing class:
ColorFunctions
Mix two colors using
ColorFunctions.mix(Color, Color, float).
First color is color1.
Second color is passed to apply(float[]).- Since:
- 3.6
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
color1
-
weight
public final float weight
-
-
Constructor Details
-
Mix2
-
-
Method Details
-
apply
public void apply(float[] hsla) - Specified by:
applyin interfaceColorFunctions.ColorFunction
-
toString
-