get_line_widthT_get_line_widthGetLineWidthGetLineWidthget_line_width (算子)

名称

get_line_widthT_get_line_widthGetLineWidthGetLineWidthget_line_width — 获取轮廓显示的当前线宽。

签名

get_line_width( : : WindowHandle : Width)

Herror T_get_line_width(const Htuple WindowHandle, Htuple* Width)

void GetLineWidth(const HTuple& WindowHandle, HTuple* Width)

double HWindow::GetLineWidth() const

static void HOperatorSet.GetLineWidth(HTuple windowHandle, out HTuple width)

double HWindow.GetLineWidth()

def get_line_width(window_handle: HHandle) -> float

描述

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_widthWidthWidthWidthWidthwidthwidth is only important for displaying the contour of objects.

执行信息

参数

WindowHandleWindowHandleWindowHandleWindowHandlewindowHandlewindow_handle (输入控制)  window HWindow, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

窗口句柄。

WidthWidthWidthWidthwidthwidth (输出控制)  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.否则将抛出异常。

可能的后继

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

模块

基础