Operator Reference
query_all_colors (Operator)
query_all_colors — Query all color names.
Signature
query_all_colors( : : WindowHandle : Colors)
Description
query_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_color). The HALCON colors
are used to display regions (disp_region,
disp_polygon, disp_circle, etc.). They can
be defined with set_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
WindowHandle (input_control) window → (handle)
Window handle.
Colors (output_control) string-array → (string)
Color names.
Result
query_all_colors always returns 2 (
H_MSG_TRUE)
Possible Successors
set_system,
set_color,
disp_region
See also
query_color,
set_system,
set_color,
disp_region,
open_window
Module
Foundation