set_line_style ( : : Style : )

Definition of a contour output pattern.

set_line_style defines the output pattern of region contours. The information is used by prodedures like disp_region, disp_line, disp_polygon etc. The current value can be queried with get_line_style. Style contains up to five pairs of values. The first value is the length of the visible contour part, the second is the length of the invisible part. The value pairs are used cyclical for contour output.


Attention

set_line_style does an implicit polygon approximation (see set_line_approx(::3:)). It is only possible to enlarge it with set_line_approx.


Parameters

Style (input_control)
integer-array -> integer
countour pattern.
Default value: '[]'


Example
  stroke line
set_line_style(::[20,7]:).
  point-stroke line
set_line_style(::[20,7,3,7]:).
  passing line (standard)
set_line_style(::[]:).

Result

set_line_style returns TRUE, if the parameter is correct and a window is active. Otherwise an exception is raised.


Possible Predecessors

get_line_style


Possible Successors

disp_region


See also

get_line_style, set_line_approx, disp_region



Copyright © 1996-1997 MVTec Software GmbH