Operators |
get_hsi — Get the HSI coding of the current color.
get_hsi( : : WindowHandle : Hue, Saturation, Intensity)
get_hsi returns the output color or gray values, respectively, for the window, described in Hue, Saturation and Intensity. The values returned by get_hsi can be set with set_hsi.
The values returned by get_hsi may be inaccurate due to rounding errors. They do not necessarily match the values set with set_hsi exactly (colors are stored in RGB internally).
Window handle.
Hue (color value) of the current color.
Saturation of the current color.
Intensity of the current color.
get_hsi returns 2 (H_MSG_TRUE), if the window is valid. Otherwise an exception is raised.
set_hsi, set_color, set_rgb, trans_to_rgb, trans_from_rgb
Foundation
Operators |