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 Details
-
alter
- 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)
.
-