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 (Usage) |
Copy Code |
Dim instance As ChartRenderingEngine
Dim pen As Pen
Dim points() As PointF
Dim offset As Integer
Dim numberOfSegments As Integer
Dim tension As Single
instance.DrawCurve(pen, points, offset, numberOfSegments, tension)
|
Parameters
- pen
- Pen object that determines the color, width, and height of the curve.
- 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