get_line_widthT_get_line_widthGetLineWidthGetLineWidthget_line_width (算子名称)
名称
get_line_widthT_get_line_widthGetLineWidthGetLineWidthget_line_width — Get the current line width for contour display.
参数签名
描述
get_line_widthget_line_widthGetLineWidthGetLineWidthGetLineWidthget_line_width returns the line width for region display
in the window. It is used by operators like
disp_regiondisp_regionDispRegionDispRegionDispRegiondisp_region, disp_linedisp_lineDispLineDispLineDispLinedisp_line,
disp_polygondisp_polygonDispPolygonDispPolygonDispPolygondisp_polygon, etc. WidthWidthWidthWidthwidthwidth is set with the
operator set_line_widthset_line_widthSetLineWidthSetLineWidthSetLineWidthset_line_width. WidthWidthWidthWidthwidthwidth is only
important for displaying the contour of objects.
运行信息
- 多线程类型:可重入(与非独占操作符并行运行)。
- 多线程作用域:全局(可以从任何线程调用)。
- 未经并行化处理。
参数表
WindowHandleWindowHandleWindowHandleWindowHandlewindowHandlewindow_handle (input_control) window → HWindow, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Window handle.
WidthWidthWidthWidthwidthwidth (output_control) real → HTuplefloatHTupleHtuple (real) (double) (double) (double)
Current line width for contour display.
结果
get_line_widthget_line_widthGetLineWidthGetLineWidthGetLineWidthget_line_width returns 2 (
H_MSG_TRUE)
if the window is valid.
Otherwise an exception is raised.
可能的后置算子
set_line_widthset_line_widthSetLineWidthSetLineWidthSetLineWidthset_line_width,
set_line_styleset_line_styleSetLineStyleSetLineStyleSetLineStyleset_line_style,
disp_regiondisp_regionDispRegionDispRegionDispRegiondisp_region
参考其它
set_line_widthset_line_widthSetLineWidthSetLineWidthSetLineWidthset_line_width,
disp_regiondisp_regionDispRegionDispRegionDispRegiondisp_region
模块
Foundation