共用方式為


Shape.Stroke 屬性

定義

取得或設定 Brush ,指定如何繪製 圖形 外框。

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。

適用於

另請參閱