Package squidpony

Interface IFilter<T>

Type Parameters:
T - The type of colors that this filter outputs.

public interface IFilter<T>
A filter is a function on colors. It is usually used in IColorCenter to tint all colors.
Author:
Tommy Ettinger, smelC
See Also:
IColorCenter
  • Method Summary

    Modifier and Type Method Description
    T alter​(float r, float g, float b, float a)  
  • Method Details

    • alter

      T alter​(float r, float g, float b, float a)
      Parameters:
      r - The red component.
      g - The green component.
      b - The blue component.
      a - The alpha component.
      Returns:
      An alteration of (r,g,b,a).