語言

Pen.Brush 屬性

定義

取得或設定 , Brush 決定了該 Pen屬性。

public:
 property System::Drawing::Brush ^ Brush { System::Drawing::Brush ^ get(); void set(System::Drawing::Brush ^ value); };
public System.Drawing.Brush Brush { get; set; }
member this.Brush : System.Drawing.Brush with get, set
Public Property Brush As Brush

屬性值

Brush A 決定了此Pen屬性。

例外狀況

該 Brush 性質設定在一個不變的 Pen上,例如類別回傳 Pens 的 。

備註

賦予此屬性後,筆會繪製填充線條與曲線。 它覆蓋 Color 了 的 Pen屬性。

適用於