Package com.formdev.flatlaf.util
Class ColorFunctions.Mix2
- java.lang.Object
-
- com.formdev.flatlaf.util.ColorFunctions.Mix2
-
- All Implemented Interfaces:
ColorFunctions.ColorFunction
- Enclosing class:
- ColorFunctions
public static class ColorFunctions.Mix2 extends java.lang.Object implements ColorFunctions.ColorFunction
Mix two colors usingColorFunctions.mix(Color, Color, float). First color iscolor1. Second color is passed toapply(float[]).- Since:
- 3.6
-
-
Constructor Summary
Constructors Constructor Description Mix2(java.awt.Color color1, float weight)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapply(float[] hsla)java.lang.StringtoString()
-
-
-
Method Detail
-
apply
public void apply(float[] hsla)
- Specified by:
applyin interfaceColorFunctions.ColorFunction
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-