get_line_widthGetLineWidthGetLineWidthget_line_widthT_get_line_width
説明
get_line_widthGetLineWidthGetLineWidthget_line_widthT_get_line_width — 現在のライン幅設定を得る。
書式
get_line_width( window WindowHandle, out real Width )void GetLineWidth( const HTuple& WindowHandle, HTuple* Width )static void HOperatorSet.GetLineWidth( HTuple windowHandle, out HTuple width )def get_line_width( window_handle: HHandle ) -> float
Herror T_get_line_width( const Htuple WindowHandle, Htuple* Width )
double HWindow::GetLineWidth( ) const
double HWindow.GetLineWidth( )
説明
get_line_widthGetLineWidth は、ウインドウ内の領域表示に対するライン幅
を返します。オペレーター(disp_regionDispRegion, disp_lineDispLine,
disp_polygonDispPolygon など)に適用されます。Widthwidthwidth は、
オペレーター set_line_widthSetLineWidth を用いて設定されます。
Widthwidthwidth は、オブジェクトの輪郭を表示する場合においてのみ重要で
す。
実行情報
実行情報
パラメーター
WindowHandlewindowHandlewindow_handle (input_control) window → (handle)HTuple (HHandle)HWindow, HTuple (IntPtr)HHandleHtuple (handle)
ウインドウハンドル
Widthwidthwidth (output_control) real → (real)HTuple (double)HTuple (double)floatHtuple (double)
輪郭表示に対する現在のライン幅
結果
ウインドウが有効な場合、get_line_widthGetLineWidth は 2 (H_MSG_TRUE) を返しま
す。
それ以外の場合には例外が発生します。
他のオペレーターとの組み合わせ
組み合わせ
後処理の候補
set_line_widthSetLineWidth, set_line_styleSetLineStyle, disp_regionDispRegion
関連項目
set_line_widthSetLineWidth, disp_regionDispRegion
モジュール
Foundation