Graphics.DrawCurve Method (Pen, Point, Single)
Draws a cardinal spline through a specified array of Point structures using a specified tension.
Assembly: System.Drawing (in System.Drawing.dll)
This method draws a cardinal spline that passes through each point in the array.
The array of points must contain at least three Point structures for a curve to be drawn.
The tension parameter determines the shape of the spline. If the value of the tension parameter is 0.0F, this method draws straight line segments to connect the points. Usually, the tension parameter is less than or equal to 1.0F. Values over 1.0F produce unusual results.
Creates red and green pens.
Creates seven points to define the curve.
Draws six red straight lines between the seven points to form an incomplete polygon.
Creates a tension setting.
Draws an open green closed curve through the seven points.
The method uses a tension of 1.0.
Available since 1.1