In WPF Path
, I have the following value set for Data
property:
Path="M0,0 L300,0 A300,300 X 0 1 210.7,210.7 z"
where X
is the rotation angle according to the documentation. No matter what value I specify for X
, the resulting shape remains the same. What am I doing wrong here?
Here is simple reproducible sample if anyone would like to try. Simply create a new WPF application project in Visual Studio and paste the following in Window1:
<Window x:Class="DiagramDesigner.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Window2" Height="500" Width="500">
<Canvas>
<Path Canvas.Left="100" Canvas.Top="100" Data="M0,0 L300,0 A300,300 X 0 1 210.7,210.7 z" Stroke="Black"></Path>
</Canvas>
</Window>
Type whatever number you wish in place of X
above and you'll get the same results.