Interface ColorTransform
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Defines a transformation on a color.
-
Method Summary
Modifier and TypeMethodDescriptionstatic ColorTransform
alpha
(int alpha) static ColorTransform
brightness
(float brightnessFactor) Transforms the specified color.
-
Method Details
-
transform
Transforms the specified color.- Parameters:
color
- The original color to transform.- Returns:
- The transformed color.
-
alpha
-
brightness
-