Package com.formdev.flatlaf.util
Class ColorFunctions.Fade
- java.lang.Object
-
- com.formdev.flatlaf.util.ColorFunctions.Fade
-
- All Implemented Interfaces:
ColorFunctions.ColorFunction
- Enclosing class:
- ColorFunctions
public static class ColorFunctions.Fade extends java.lang.Object implements ColorFunctions.ColorFunction
Set the alpha of a color.
-
-
Field Summary
Fields Modifier and Type Field Description float
amount
-
Constructor Summary
Constructors Constructor Description Fade(float amount)
-
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
-
-