get_hsiT_get_hsiGetHsiGetHsi (Operator)
Name
get_hsiT_get_hsiGetHsiGetHsi
— Get the HSI coding of the current color.
Signature
Description
get_hsiget_hsiGetHsiGetHsiGetHsi
returns the output color or gray values, respectively, for
the window, described in HueHueHueHuehue
, SaturationSaturationSaturationSaturationsaturation
and
IntensityIntensityIntensityIntensityintensity
. The values returned by
get_hsiget_hsiGetHsiGetHsiGetHsi
can be set with set_hsiset_hsiSetHsiSetHsiSetHsi
.
Attention
The values returned by get_hsiget_hsiGetHsiGetHsiGetHsi
may be inaccurate due to
rounding errors. They do not necessarily match the values set with
set_hsiset_hsiSetHsiSetHsiSetHsi
exactly (colors are stored in RGB internally).
Execution Information
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
Parameters
WindowHandleWindowHandleWindowHandleWindowHandlewindowHandle
(input_control) window →
HWindow, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Window handle.
HueHueHueHuehue
(output_control) integer-array →
HTupleHTupleHtuple (integer) (int / long) (Hlong) (Hlong)
Hue (color value) of the current color.
SaturationSaturationSaturationSaturationsaturation
(output_control) integer-array →
HTupleHTupleHtuple (integer) (int / long) (Hlong) (Hlong)
Saturation of the current color.
IntensityIntensityIntensityIntensityintensity
(output_control) integer-array →
HTupleHTupleHtuple (integer) (int / long) (Hlong) (Hlong)
Intensity of the current color.
Result
get_hsiget_hsiGetHsiGetHsiGetHsi
returns 2 (H_MSG_TRUE), if the window is valid.
Otherwise an exception is raised.
Possible Successors
set_hsiset_hsiSetHsiSetHsiSetHsi
,
set_rgbset_rgbSetRgbSetRgbSetRgb
,
disp_imagedisp_imageDispImageDispImageDispImage
See also
set_hsiset_hsiSetHsiSetHsiSetHsi
,
set_colorset_colorSetColorSetColorSetColor
,
set_rgbset_rgbSetRgbSetRgbSetRgb
,
trans_to_rgbtrans_to_rgbTransToRgbTransToRgbTransToRgb
,
trans_from_rgbtrans_from_rgbTransFromRgbTransFromRgbTransFromRgb
Module
Foundation