AT&T Home | AT&T Labs | Research
AT&T Labs, Inc. - Research

The Yoix® Scripting Language

Home | What's New | Grammar | Documentation | Download | License | YChart | YDAT | YWAIT | Byzgraf | FAQs
getSaturationAdjustedColor (Color color, double factor) yoix.swing
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.
 
 Return:   Color
 
 See Also:   addColor, Color, getBrighterColor, getCMYKColor, getColorName, getDarkerColor, getHSBColor, getHSBComponents, getRGBColor

 

Yoix is a registered trademark of AT&T Inc.