Operator Reference

set_contour_styleT_set_contour_styleSetContourStyleSetContourStyleset_contour_style (Operator)

set_contour_styleT_set_contour_styleSetContourStyleSetContourStyleset_contour_style — Define the contour display fill style.

Signature

set_contour_style( : : WindowHandle, Style : )

Herror T_set_contour_style(const Htuple WindowHandle, const Htuple Style)

void SetContourStyle(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)

static void HOperatorSet.SetContourStyle(HTuple windowHandle, HTuple style)

void HWindow.SetContourStyle(string style)

def set_contour_style(window_handle: HHandle, style: str) -> None

Description

set_contour_styleset_contour_styleSetContourStyleSetContourStyleset_contour_style defines the fill style of contour displays. The following values are supported for StyleStyleStylestylestyle:

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

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

  • 'stroke_and_fill'"stroke_and_fill""stroke_and_fill""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_widthset_line_widthSetLineWidthSetLineWidthset_line_width.

For all styles the current drawing color is used.

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

WindowHandleWindowHandleWindowHandlewindowHandlewindow_handle (input_control)  window HWindow, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Window handle.

StyleStyleStylestylestyle (input_control)  string HTuplestrHTupleHtuple (string) (string) (HString) (char*)

Fill style of contour displays.

Default: 'stroke' "stroke" "stroke" "stroke" "stroke"

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

Result

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

Possible Predecessors

get_contour_styleget_contour_styleGetContourStyleGetContourStyleget_contour_style

Possible Successors

disp_xlddisp_xldDispXldDispXlddisp_xld, disp_objdisp_objDispObjDispObjdisp_obj

See also

get_contour_styleget_contour_styleGetContourStyleGetContourStyleget_contour_style, disp_xlddisp_xldDispXldDispXlddisp_xld, set_line_widthset_line_widthSetLineWidthSetLineWidthset_line_width, set_line_styleset_line_styleSetLineStyleSetLineStyleset_line_style

Module

Foundation