set_contour_styleT_set_contour_styleSetContourStyleSetContourStyleset_contour_style (算子)
名称
set_contour_styleT_set_contour_styleSetContourStyleSetContourStyleset_contour_style — 定义轮廓显示填充样式。
签名
描述
set_contour_styleset_contour_styleSetContourStyleSetContourStyleSetContourStyleset_contour_style defines the fill style of contour displays.
The following values are supported for StyleStyleStyleStylestylestyle:
-
'stroke'"stroke""stroke""stroke""stroke""stroke":Only the line of the contour gets displayed.
-
'fill'"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""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_widthSetLineWidthSetLineWidthSetLineWidthset_line_width。
For all styles the current drawing color is used.
执行信息
- 多线程类型:可重入(与非独占算子并行运行)。
- 多线程作用域:全局(可从任何线程调用)。
- 未采用并行化处理。
参数
WindowHandleWindowHandleWindowHandleWindowHandlewindowHandlewindow_handle (输入控制) window → HWindow, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
窗口句柄。
StyleStyleStyleStylestylestyle (输入控制) string → HTuplestrHTupleHtuple (string) (string) (HString) (char*)
Fill style of contour displays.
默认值:
'stroke'
"stroke"
"stroke"
"stroke"
"stroke"
"stroke"
值列表:
'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.否则将抛出异常。
可能的前趋
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
模块
基础