【发布时间】:2017-08-14 09:01:49
【问题描述】:
我想在 XAML/WPF 中画一个中心点的圆并使用这样的代码:
<Ellipse Name="Circle"
Canvas.Left="4.88"
Canvas.Top="15.095"
Width="9.14"
Height="9.14"
Stroke="Red"
StrokeThickness="0.1" />
<Ellipse Name="Point"
Canvas.Left="9.2"
Canvas.Top="19.415"
HorizontalAlignment="Center"
VerticalAlignment="Center"
Width="0.5"
Height="0.5"
Fill="Red"
Stroke="Red"
StrokeThickness="0.1" />
但是该点不在圆的中心。我哪里做错了?
【问题讨论】:
标签: wpf xaml draw system.drawing