GraphicsPath.AddCurve Method (PointF, Int32, Int32, Single)
Assembly: System.Drawing (in system.drawing.dll)
public void AddCurve ( PointF points, int offset, int numberOfSegments, float tension )
public function AddCurve ( points : PointF, offset : int, numberOfSegments : int, tension : float )
An array of PointF structures that represents the points that define the curve.
The index of the element in the points array that is used as the first point in the curve.
The number of segments used to draw the curve. A segment can be thought of as a line connecting two points.
A value that specifies the amount that the curve bends between control points. Values greater than 1 produce unpredictable results.
The user must keep the original points if they are needed. The original points are converted to cubic Bézier control points internally, therefore there is no mechanism for returning the original points.
The curve begins at the point in the array specified by offset, and includes the number of points (segments) specified by numberOfSegments.
Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter EditionThe Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.