Operators |
set_draw — Define the region fill mode.
set_draw( : : WindowHandle, Mode : )
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 (e.g. 'histogram', see set_paint). If the mode is 'margin', the contour can be affected with set_line_width and set_line_style.
If the output mode is 'margin' and the line width is more than one, objects may not be displayed.
Window handle.
Fill mode for region output.
Default value: 'fill'
List of values: 'fill' , 'margin'
set_draw returns 2 (H_MSG_TRUE) if Mode is correct and the window is valid. Otherwise an exception is raised.
get_draw, disp_region, set_paint, disp_image, set_line_width, set_line_style
Foundation
Operators |