Skip to content

set_contour_styleSetContourStyleSetContourStyleset_contour_styleT_set_contour_style🔗

Short description🔗

set_contour_styleSetContourStyleSetContourStyleset_contour_styleT_set_contour_style — Define the contour display fill style.

Signature🔗

set_contour_style( window WindowHandle, string Style )void SetContourStyle( const HTuple& WindowHandle, const HTuple& Style )static void HOperatorSet.SetContourStyle( HTuple windowHandle, HTuple style )def set_contour_style( window_handle: HHandle, style: str ) -> None

Herror T_set_contour_style( const Htuple WindowHandle, const Htuple Style )

void HWindow::SetContourStyle( const HString& Style ) const

void HWindow::SetContourStyle( const char* Style ) const

void HWindow::SetContourStyle( const wchar_t* Style ) const (Windows only)

void HWindow.SetContourStyle( string style )

Description🔗

set_contour_styleSetContourStyle defines the fill style of contour displays. The following values are supported for Stylestylestyle:

  • 'stroke'"stroke": Only the line of the contour gets displayed.

  • 'fill'"fill": The area enclosed by the contour is filled.

  • 'stroke_and_fill'"stroke_and_fill": The line of the contour gets displayed and the enclosed area filled. especially makes a difference for larger line widths, see set_line_widthSetLineWidth.

For all styles the current drawing color is used.

Execution information🔗

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🔗

WindowHandlewindowHandlewindow_handle (input_control) window → (handle)HTuple (HHandle)HWindow, HTuple (IntPtr)HHandleHtuple (handle)

Window handle.

Stylestylestyle (input_control) string → (string)HTuple (HString)HTuple (string)strHtuple (char*)

Fill style of contour displays.

Default: 'stroke'"stroke"
List of values: 'fill', 'stroke', 'stroke_and_fill'"fill", "stroke", "stroke_and_fill"

Result🔗

set_contour_styleSetContourStyle returns 2 (H_MSG_TRUE) if Stylestylestyle is correct and the window is valid. Otherwise an exception is raised.

Combinations with other operators🔗

Combinations

Possible predecessors

get_contour_styleGetContourStyle

Possible successors

disp_xldDispXld, disp_objDispObj

See also

get_contour_styleGetContourStyle, disp_xldDispXld, set_line_widthSetLineWidth, set_line_styleSetLineStyle

Module🔗

Foundation