Dundas Chart for Windows Forms
DrawCurve(PointF[],Int32,Int32,Single) Method
See Also  Send comments on this topic.
DundasWinChart Assembly > Dundas.Charting.WinControl.Svg Namespace > SvgRendering Class > DrawCurve Method : DrawCurve(PointF[],Int32,Int32,Single) Method


points
Array of PointF structures that define the spline.
offset
Offset from the first element in the array of the points parameter to the starting point in the curve.
numberOfSegments
Number of segments after the starting point to include in the curve.
tension
Value greater than or equal to 0.0F that specifies the tension of the curve.
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.

Syntax

Visual Basic (Declaration)  
Public Overloads Sub DrawCurve( _
   ByVal points() As PointF, _
   ByVal offset As Integer, _
   ByVal numberOfSegments As Integer, _
   ByVal tension As Single _
) 
Visual Basic (Usage) Copy Code
Dim instance As SvgRendering
Dim points() As PointF
Dim offset As Integer
Dim numberOfSegments As Integer
Dim tension As Single
 
instance.DrawCurve(points, offset, numberOfSegments, tension)
C#  
public void DrawCurve( 
   PointF[] points,
   int offset,
   int numberOfSegments,
   float tension
)

Parameters

points
Array of PointF structures that define the spline.
offset
Offset from the first element in the array of the points parameter to the starting point in the curve.
numberOfSegments
Number of segments after the starting point to include in the curve.
tension
Value greater than or equal to 0.0F that specifies the tension of the curve.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2009 All Rights Reserved.