XAML Path element - how to make soft corners

I am trying to figure out how to set the Data property of a Path element to get soft corners of this type:

alt text

Right now I only have sharp edges like this:

alt text

I tried to play with ellipses, but I can’t get what I want.

thank

+5
source share
2 answers

Path segments have the IsSmoothJoin property; the default value is false. I have never tried, but it seems to be a good candidate.

- PolyLine ( Path, ). PolyLine StrokeLineJoin PenLineJoin, . . MSDN "" .

: : StrokeLineJoin Shape, Path - Shape, Path.

+6

StrokeLineJoin, StrokeStartLine StrokeEndLine, , .

+1

All Articles