Microsoft SDK for Java

Color.getSaturation

Retrieves the HSB saturation for this color.

Syntax

public float getSaturation()

Return Value

Returns the saturation for this color, where 0 is gray, and 1 is the most saturated.

See Also   getBrightness, getHue

© 1999 Microsoft Corporation. All rights reserved. Terms of use.