Vcl.Graphics.TPen.Width

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

property Width: Integer read GetWidth write SetWidth default 1;

C++

__property int Width = {read=GetWidth, write=SetWidth, default=1};

プロパティ

種類 可視性 ソース ユニット
property published
Vcl.Graphics.pas
Vcl.Graphics.hpp
Vcl.Graphics TPen

説明

ペンの幅(ピクセル単位)を指定します。

Width プロパティは線幅を設定できます。Width プロパティを 0 未満の値に設定する場合,その新しい値は無視されます。

メモ:  Width プロパティの値は Style プロパティの値が有効かどうかを左右します。

関連項目