<Page x:Class="利用Path类绘图.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
WindowTitle="利用Path类绘图">
<Canvas>
<Path Stroke="Red" StrokeThickness="3">
<Path.Data>
<PathGeometry>
<PathGeometry.Figures>
<PathFigure StartPoint="100,100">
<PathFigure.Segments>
<QuadraticBezierSegment Point1="200,200" Point2="360,100"/>
</PathFigure.Segments>
</PathFigure>
</PathGeometry.Figures>
</PathGeometry>
</Path.Data>
</Path>
</Canvas>
</Page>
利用Path类绘图
最新推荐文章于 2021-02-21 19:07:23 发布