| getSaturationAdjustedColor |
(Color color, double factor) |
yoix.awt |
| getSaturationAdjustedColor |
(Number red, Number green, Number blue, double factor) |
|
| |
Converts the color that is specified by the
color
argument or by the
red,
green,
and
blue
color component arguments to its hue, saturation, and brightness color components,
multiplies the saturation component by
factor,
which should be a non-negative number, and then returns a new color created from the hue,
the adjusted saturation, and the brightness components.
A color component that is a
double
should be a number between
0.0
and
1.0,
while a color component that is an
int
should be a number between
0
and
255.
|
Yoix is a registered trademark of AT&T Inc.
|