语言

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属性的 APen。

例外

该 Brush 属性在不可变 Pen上设置,例如类返回的属性 Pens 。

注解

分配此属性会导致笔绘制填充的线条和曲线。 它重写 Color 了 . Pen的属性。

适用于