Draws a cardinal spline through a specified array of System.Drawing.Point structures using a specified tension.
- pen
- System.Drawing.Pen that determines the color, width, and style of the curve.
- points
- Array of System.Drawing.Point structures that define the spline.
- tension
- Value greater than or equal to 0.0F that specifies the tension of the curve.
This method draws a cardinal spline that passes through each point in the array.
The array of points must contain at least three System.Drawing.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.