I have the following XAML:
<Ellipse StrokeThickness="2" Stroke="Green"></Ellipse>
<Rectangle Margin="150,0,149,150" Name="rectanglePie" Stroke="Green" Height="150" VerticalAlignment="Bottom">
<Rectangle.RenderTransform>
<RotateTransform x:Name="pieEdge" CenterX="0" CenterY="150" Angle="60" />
</Rectangle.RenderTransform>
</Rectangle>
<Rectangle Margin="150,0,149,150" Name="rectangleStatic" Stroke="Green" Height="150" VerticalAlignment="Bottom">
</Rectangle>
我想要做的是用颜色填充这个饼图块。是否可以实现,如果可以,如何操作?