set_line_widthπ
Short descriptionπ
set_line_width β Define the line width for region contour output.
Signatureπ
set_line_width( window WindowHandle, real Width )
Descriptionπ
set_line_width defines the line width (in pixel) in
which a region contour is displayed (e.g., with
disp_region, disp_line,
disp_polygon, etc.) The operator
get_line_width returns the current value for the
window. Some output devices may not allow to change the contour
width. If it is possible for the current device, it can be queried with
query_line_width.
Attentionπ
The line width is important if the output mode was set to βmarginβ
(see set_draw). If the line width is greater than one,
regions may not always be displayed correctly.
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.
Width (input_control) real β (real)
Line width for region output in contour mode.
Default: 1.0
Restriction: (Width >= 1.0) && (Width <= 2000.0)
Resultπ
set_line_width returns 2 (H_MSG_TRUE) if the parameter is
correct and the window is valid. Otherwise an exception is raised.
Combinations with other operatorsπ
Moduleπ
Foundation