【发布时间】:2016-04-29 06:43:13
【问题描述】:
我怎样才能画出这样的圆,2 种颜色分成 2 部分。我正在用 xaml 编码
<Ellipse Fill="White" HorizontalAlignment="Center" VerticalAlignment="Center" Width="300" Height="300">
</Ellipse>
<Path VerticalAlignment="Top" Fill="Brown" HorizontalAlignment="Left">
<Path.Data>
<PathGeometry>
<PathFigure StartPoint="59,150">
<ArcSegment SweepDirection="Clockwise" Size="141,80" Point="341,150"/>
</PathFigure>
</PathGeometry>
</Path.Data>
</Path>
我试了一下,上面的Path没有填满第1部分。帮我画一下!
【问题讨论】:
-
绘制两条相互重叠的路径。
标签: wpf xaml windows-phone