set_max_sat


Description:

public Color set_max_sat (double sat)

Changes this color's saturation to the supplied saturation, if it is smaller than this color's saturation.

Parameters:

sat

the hue to change this color to

Returns:

the new Granite.Drawing.Color