【发布时间】:2014-09-17 09:08:49
【问题描述】:
我最近想使用ArcSegment,但是IsLargeArc="False" 不起作用。这是带有已编译应用程序图片的示例代码。
图片是:
<Window x:Class="WpfApplication1.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="MainWindow" Height="1000" Width="1000">
<Canvas Height="500" Width="500">
<Path Stroke="Red" StrokeThickness="3">
<Path.Data>
<PathGeometry>
<PathFigure StartPoint="50, 50">
<ArcSegment Point="300, 50" IsLargeArc="False" Size="50,25" />
</PathFigure>
</PathGeometry>
</Path.Data>
</Path>
<Path Stroke="Green" StrokeThickness="3">
<Path.Data>
<PathGeometry>
<PathFigure StartPoint="50, 250">
<ArcSegment Point="300, 250" IsLargeArc="True" Size="50,25" />
</PathFigure>
</PathGeometry>
</Path.Data>
</Path>
</Canvas>
</Window>
【问题讨论】: