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_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_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