set_contour_styleT_set_contour_styleSetContourStyleSetContourStyleset_contour_style (算子名称)

名称

set_contour_styleT_set_contour_styleSetContourStyleSetContourStyleset_contour_style — Define the contour display fill style.

参数签名

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

描述

set_contour_styleset_contour_styleSetContourStyleSetContourStyleSetContourStyleset_contour_style defines the fill style of contour displays. The following values are supported for StyleStyleStyleStylestylestyle:

For all styles the current drawing color is used.

运行信息

参数表

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

Window handle.

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

Fill style of contour displays.

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

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

结果

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

可能的前置算子

get_contour_styleget_contour_styleGetContourStyleGetContourStyleGetContourStyleget_contour_style

可能的后置算子

disp_xlddisp_xldDispXldDispXldDispXlddisp_xld, disp_objdisp_objDispObjDispObjDispObjdisp_obj

参考其它

get_contour_styleget_contour_styleGetContourStyleGetContourStyleGetContourStyleget_contour_style, disp_xlddisp_xldDispXldDispXldDispXlddisp_xld, set_line_widthset_line_widthSetLineWidthSetLineWidthSetLineWidthset_line_width, set_line_styleset_line_styleSetLineStyleSetLineStyleSetLineStyleset_line_style

模块

Foundation