Class FloatFilters.ColorizeFilter

java.lang.Object
squidpony.squidgrid.gui.gdx.FloatFilter
squidpony.squidgrid.gui.gdx.FloatFilters.ColorizeFilter
Enclosing class:
FloatFilters

public static class FloatFilters.ColorizeFilter
extends FloatFilter
Changes all colors this alters to have the same hue as, and a closer saturation to, a target color given in the constructor, as well as optionally multiplying saturation of the result and/or adding lightness/value. A good example usage of this is to make a sepia-tone effect with new FloatFilters.ColorizeFilter(SColor.CLOVE_BROWN, 0.6f, 0.0f).