語言

Shape.Stroke 屬性

定義

取得或設定指定形狀輪廓如何繪製的畫筆。

public:
 property Brush ^ Stroke { Brush ^ get(); void set(Brush ^ value); };
Brush Stroke();

void Stroke(Brush value);
public Brush Stroke { get; set; }
var brush = shape.stroke;
shape.stroke = brush;
Public Property Stroke As Brush
<shape Stroke="{StaticResource resourceName}"/>
- or -
<shape Stroke="colorString"/>
- or -
<shape>
  <shape.Stroke>singleBrush</shape.Stroke>
</shape>

屬性值

一 把 筆刷,用來指定 形狀輪廓 的繪製方式。 預設值是 null。

適用於

另請參閱