我有一个Shapes.Path,我填充了这样的绑定:
<Path Stroke=Black"
Opacity="0.5"
StrokeThickness="10"
Data="{Binding Data, UpdateSourceTrigger=PropertyChanged}">
</Path>这条路的边缘是平坦的。我想把这个改成圆角。
我到处玩
<Style x:Key="PathStyle" TargetType="Path">但我找不到能让我为所欲为的财产。
有什么想法吗?
发布于 2016-06-17 11:19:45
将圆角的StrokeLineJoin属性设置为Round,对于圆角行结束也可能设置StrokeStartLineCap和StrokeEndLineCap:
<Path StrokeLineJoin="Round"
StrokeStartLineCap="Round"
StrokeEndLineCap="Round"
... />https://stackoverflow.com/questions/37880194
复制相似问题