Plank.Color.set_max_val – plank Reference Manual
Packages
plank
Plank
Color
from_hsl
from_hsv
from_prefs_string
add_hue
brighten_val
darken_by_sat
darken_val
get_hsl
get_hsv
get_hue
get_sat
get_val
multiply_sat
set_hsl
set_hsv
set_hue
set_max_sat
set_max_val
set_min_sat
set_min_val
set_sat
set_val
to_prefs_string
set_max_val
Description:
public
void
set_max_val
(
double
val)
Assures the color's value is less than or equal to the given one.
Parameters:
val
the maximum value