Search
IGraphics.DrawCurve Method (Pen, PointF[], Int32, Int32, Single)
See Also
 





Draws a cardinal spline through a specified array of PointF structures using a specified tension. The drawing begins offset from the beginning of the array.

Namespace: MindFusion.Drawing
Package: MindFusion.Common

 Syntax

C#  Copy Code

void DrawCurve (
    Pen pen,
    PointF[] points,
    int offset,
    int numberOfSegments,
    float tension
)

Visual Basic  Copy Code

Sub DrawCurve( _
    pen As Pen, _
    points() As PointF, _
    offset As Integer, _
    numberOfSegments As Integer, _
    tension As Single _
)

 Parameters

pen
A .NET Pen object that determines the color, width, and height of the curve.
points
An array of .NET PointF structures that define the spline.
offset
The offset from the first element in the array of the points parameter to the starting point in the curve.
numberOfSegments
The number of segments after the starting point to include in the curve.
tension
A value greater than or equal to 0.0F that specifies the tension of the curve.

 See Also