PolyQuadraticBezierSegment.Points Property


Gets or sets the Point collection that defines this PolyQuadraticBezierSegment object.

 property PointCollection ^ Points { PointCollection ^ get(); void set(PointCollection ^ value); };
PointCollection Points();

void Points(PointCollection value);
public PointCollection Points { get; set; }
Public Property Points As PointCollection
<PolyQuadraticBezierSegment Points="pointSet"/>

Property Value


A collection of points that defines the shape of this PolyQuadraticBezierSegment object. The default value is an empty collection.


This example creates two curves using a PolyQuadraticBezierSegment to specify the coordinates.

    <Path Stroke="Black" StrokeThickness="4">

                        <!-- The StartPoint specifies the starting point of the first curve. -->
                        <PathFigure StartPoint="10,100">

                                    <!-- The PolyQuadraticBezierSegment specifies two Bezier curves.
                  The first curve is from 10,100 (start point specified above)
                  to 300,100 with a control point of 200,200. The second curve
                  is from 200,200 (end of the last curve) to 30,400 with a 
                  control point of 0,200. -->
                                    <PolyQuadraticBezierSegment Points="200,200 300,100 0,200 30,400" />

Applies to