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。

适用于

另请参阅