需要帮助在xaml中创建特定路径吗
我不知道如何在需要帮助在xaml中创建特定路径吗,xaml,windows-store-apps,Xaml,Windows Store Apps,我不知道如何在xaml(Windows应用商店应用程序)中创建此路径 也许有人知道 注意:我只能使用xaml您可以这样组合三种: <Path Stroke="DarkGreen" StrokeThickness="2" Data="M 50,0 A 100,100 0 0 0 0,86.6 A 100,100 0 0 0 100,86.6 A 100,100 0 0 0 50,0 Z"/> 上述路径将半径为100的三个圆段放置在边长为100的等边三角形的三个角上。那个三角形
xaml
(Windows应用商店应用程序)中创建此路径
也许有人知道注意:我只能使用
xaml
您可以这样组合三种:
<Path Stroke="DarkGreen" StrokeThickness="2"
Data="M 50,0 A 100,100 0 0 0 0,86.6 A 100,100 0 0 0 100,86.6 A 100,100 0 0 0 50,0 Z"/>
上述路径将半径为100的三个圆段放置在边长为100的等边三角形的三个角上。那个三角形的高度是86.6
编写上述路径的更详细的方式是:
<Path Stroke="DarkGreen" StrokeThickness="2">
<Path.Data>
<PathGeometry>
<PathFigure StartPoint="50,0" IsClosed="True">
<ArcSegment Size="100,100" Point="0,86.6"/>
<ArcSegment Size="100,100" Point="100,86.6"/>
<ArcSegment Size="100,100" Point="50,0"/>
</PathFigure>
</PathGeometry>
</Path.Data>
</Path>