siverlight的几种画线方法

<Path Stroke="Black" StrokeThickness="1">
            <Path.Data><PathGeometry>
                    <PathGeometry.Figures>
                        <PathFigure StartPoint="10,50">
                            <PathFigure.Segments>
                                <BezierSegment Point1="100,0" Point2="200,200" Point3="300,100"/> <!--弧线,贝塞尔曲线,只能定义三个点-->
                                    <LineSegment Point="400,100" /> <!--直线-->
                                <ArcSegment Size="50,50" RotationAngle="45" IsLargeArc="True" SweepDirection="Clockwise" Point="200,100"/>  <!--两点之间的圆弧线-->
                            </PathFigure.Segments>
                        </PathFigure>
                    </PathGeometry.Figures>
                </PathGeometry>
            </Path.Data>
        </Path>

你可能感兴趣的:(siverlight的几种画线方法)