set_drawπ
Short descriptionπ
set_draw β Define the region fill mode.
Signatureπ
set_draw( window WindowHandle, string Mode )
Descriptionπ
set_draw defines the region fill mode. If
Mode is set to βfillβ, output regions are filled, if set
to βmarginβ, only contours are displayed. Setting Mode
only affects the valid window. It is used by operators with region
output like disp_region, disp_circle,
disp_rectangle1, disp_rectangle2,
disp_arrow etc.
It is also used by operators with gray value output for some gray value
output modes. If the mode is βmarginβ, the contour can
be affected with set_line_width and set_line_style.
Attentionπ
If the output mode is βmarginβ and the line width is more than one, objects may not be displayed.
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π
WindowHandle (input_control) window β (handle)
Window handle.
Mode (input_control) string β (string)
Fill mode for region output.
Default: 'fill'
List of values: 'fill', 'margin'
Resultπ
set_draw returns 2 (H_MSG_TRUE) if Mode
is correct and the window is valid. Otherwise an exception is
raised.
Combinations with other operatorsπ
Combinations
Possible predecessors
Possible successors
See also
get_draw, disp_region, set_paint, disp_image, set_line_width, set_line_style
Moduleπ
Foundation