我将在 WPF 中创建一个六边形并找到这个 XAML 代码:
<Polygon Points="14,0 7,12.1243556529821 -7,12.1243556529821 -14,1.71444889535133E-15 -7.00000000000001,-12.1243556529821 7,-12.1243556529821"
Fill="Black" Stroke="#FF000000" StrokeThickness="1"
RenderTransform="0.866025403784439,0.5,-0.5,0.866025403784439,31,19.2487113059643" />
但我有两个问题:
第一:
RenderTransform 属性的这些值(0.866025403784439,0.5,-0.5,0.866025403784439,31,19.2487113059643)是什么?
第二:
如何从这个 Polygon 创建运行时对象?