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.

    @FunctionalInterface
    public interface ColorTransform
    Defines a transformation on a color.
    • Method Detail

      • transform

        java.awt.Color transform​(java.awt.Color color)
        Transforms the specified color.
        Parameters:
        color - The original color to transform.
        Returns:
        The transformed color.
      • brightness

        static ColorTransform brightness​(float brightnessFactor)