set_contour_styleT_set_contour_styleSetContourStyleSetContourStyle (Operator)
Name
set_contour_styleT_set_contour_styleSetContourStyleSetContourStyle
— Define the contour display fill style.
Signature
Description
set_contour_styleset_contour_styleSetContourStyleSetContourStyleSetContourStyle
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_widthSetLineWidthSetLineWidthSetLineWidth
.
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
WindowHandleWindowHandleWindowHandleWindowHandlewindowHandle
(input_control) window →
HWindow, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Window handle.
StyleStyleStyleStylestyle
(input_control) string →
HTupleHTupleHtuple (string) (string) (HString) (char*)
Fill style of contour displays.
Default value:
'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_styleSetContourStyleSetContourStyleSetContourStyle
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_styleGetContourStyleGetContourStyleGetContourStyle
Possible Successors
disp_xlddisp_xldDispXldDispXldDispXld
,
disp_objdisp_objDispObjDispObjDispObj
See also
get_contour_styleget_contour_styleGetContourStyleGetContourStyleGetContourStyle
,
disp_xlddisp_xldDispXldDispXldDispXld
,
set_line_widthset_line_widthSetLineWidthSetLineWidthSetLineWidth
,
set_line_styleset_line_styleSetLineStyleSetLineStyleSetLineStyle
Module
Foundation