次の方法で共有


Pen.Brush プロパティ

この Pen オブジェクトの属性を決定する Brush オブジェクトを取得または設定します。

Public Property Brush As Brush
[C#]
public Brush Brush {get; set;}
[C++]
public: __property Brush* get_Brush();public: __property void set_Brush(Brush*);
[JScript]
public function get Brush() : Brush;public function set Brush(Brush);

プロパティ値

この Pen の属性を決定する Brush オブジェクト。

解説

このプロパティを割り当てると、塗りつぶされた直線と曲線がペンによって描画されます。 Pen オブジェクトの Color プロパティはオーバーライドされます。

必要条件

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ

参照

Pen クラス | Pen メンバ | System.Drawing 名前空間