Search
GdiGraphics.DrawCurve Method (Pen, Point[], Int32, Int32, Single)
See Also
 





Draws a cardinal spline through a specified array of Point structures using a specified tension.

Namespace: MindFusion.Drawing
Package: MindFusion.Common

 Syntax

C#  Copy Code

public virtual void DrawCurve (
    Pen pen,
    Point[] points,
    int offset,
    int numberOfSegments,
    float tension
)

Visual Basic  Copy Code

Public Overridable Sub DrawCurve( _
    pen As Pen, _
    points() As Point, _
    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 Point 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