query_all_colorsT_query_all_colorsQueryAllColorsQueryAllColors (Operator)

Name

query_all_colorsT_query_all_colorsQueryAllColorsQueryAllColors — Query all color names.

Signature

query_all_colors( : : WindowHandle : Colors)

Herror T_query_all_colors(const Htuple WindowHandle, Htuple* Colors)

void QueryAllColors(const HTuple& WindowHandle, HTuple* Colors)

HTuple HWindow::QueryAllColors() const

static void HOperatorSet.QueryAllColors(HTuple windowHandle, out HTuple colors)

HTuple HWindow.QueryAllColors()

Description

query_all_colorsquery_all_colorsQueryAllColorsQueryAllColorsQueryAllColors 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_colorQueryColorQueryColorQueryColor). The HALCON colors are used to display regions (disp_regiondisp_regionDispRegionDispRegionDispRegion, disp_polygondisp_polygonDispPolygonDispPolygonDispPolygon, disp_circledisp_circleDispCircleDispCircleDispCircle, etc.). They can be defined with set_colorset_colorSetColorSetColorSetColor.

Execution Information

Parameters

WindowHandleWindowHandleWindowHandleWindowHandlewindowHandle (input_control)  window HWindow, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Window handle.

ColorsColorsColorsColorscolors (output_control)  string-array HTupleHTupleHtuple (string) (string) (HString) (char*)

Color names.

Result

query_all_colorsquery_all_colorsQueryAllColorsQueryAllColorsQueryAllColors always returns 2 (H_MSG_TRUE)

Possible Successors

set_systemset_systemSetSystemSetSystemSetSystem, set_colorset_colorSetColorSetColorSetColor, disp_regiondisp_regionDispRegionDispRegionDispRegion

See also

query_colorquery_colorQueryColorQueryColorQueryColor, set_systemset_systemSetSystemSetSystemSetSystem, set_colorset_colorSetColorSetColorSetColor, disp_regiondisp_regionDispRegionDispRegionDispRegion, open_windowopen_windowOpenWindowOpenWindowOpenWindow

Module

Foundation