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,決定這個 Pen 的屬性。

例外狀況

Brush 屬性設定於不可變動的 Pen 上,例如 Pens 類別傳回的項目。

備註

指派此屬性會導致畫筆繪製填滿的線條和曲線。 它會覆寫 ColorPen屬性。

適用於