set_max_val


Description:

public Color set_max_val (double val)

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

Parameters:

val

the value to change this color to

Returns:

the new Granite.Drawing.Color