query_all_colorsT_query_all_colorsQueryAllColorsQueryAllColorsquery_all_colors (Operator)
Name
query_all_colorsT_query_all_colorsQueryAllColorsQueryAllColorsquery_all_colors
— Query all color names.
Signature
Description
query_all_colorsquery_all_colorsQueryAllColorsQueryAllColorsQueryAllColorsquery_all_colors
returns the names of all colors that
are known to HALCON. That doesn't mean that these colors are
available for specific screens. On some screens there may only be a
subset of colors available (see query_colorquery_colorQueryColorQueryColorQueryColorquery_color
). The HALCON colors
are used to display regions (disp_regiondisp_regionDispRegionDispRegionDispRegiondisp_region
,
disp_polygondisp_polygonDispPolygonDispPolygonDispPolygondisp_polygon
, disp_circledisp_circleDispCircleDispCircleDispCircledisp_circle
, etc.). They can
be defined with set_colorset_colorSetColorSetColorSetColorset_color
.
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
WindowHandleWindowHandleWindowHandleWindowHandlewindowHandlewindow_handle
(input_control) window →
HWindow, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Window handle.
ColorsColorsColorsColorscolorscolors
(output_control) string-array →
HTupleSequence[str]HTupleHtuple (string) (string) (HString) (char*)
Color names.
Result
query_all_colorsquery_all_colorsQueryAllColorsQueryAllColorsQueryAllColorsquery_all_colors
always returns TRUE
Possible Successors
set_systemset_systemSetSystemSetSystemSetSystemset_system
,
set_colorset_colorSetColorSetColorSetColorset_color
,
disp_regiondisp_regionDispRegionDispRegionDispRegiondisp_region
See also
query_colorquery_colorQueryColorQueryColorQueryColorquery_color
,
set_systemset_systemSetSystemSetSystemSetSystemset_system
,
set_colorset_colorSetColorSetColorSetColorset_color
,
disp_regiondisp_regionDispRegionDispRegionDispRegiondisp_region
,
open_windowopen_windowOpenWindowOpenWindowOpenWindowopen_window
Module
Foundation