GraphicsPath.AddCurve

AddCurve(Point[])

Adds a spline curve to the current figure. A cardinal spline curve is used because the curve travels through each of the points in the array.

public void AddCurve(Point[] points)
ParameterTypeDescription
pointsPoint[]An array of Point structures that represents the points that define the curve.

See Also


AddCurve(PointF[])

Adds a spline curve to the current figure. A cardinal spline curve is used because the curve travels through each of the points in the array.

public void AddCurve(PointF[] points)
ParameterTypeDescription
pointsPointF[]An array of PointF structures that represents the points that define the curve.

See Also


AddCurve(PointF[], float)

Adds a spline curve to the current figure.

public void AddCurve(PointF[] points, float tension)
ParameterTypeDescription
pointsPointF[]An array of PointF structures that represents the points that define the curve.
tensionSingleA value that specifies the amount that the curve bends between control points. Values greater than 1 produce unpredictable results.

See Also


AddCurve(PointF[], int, int, float)

Adds a spline curve to the current figure.

public void AddCurve(PointF[] points, int offset, int numberOfSegments, float tension)
ParameterTypeDescription
pointsPointF[]An array of PointF structures that represents the points that define the curve.
offsetInt32The index of the element in the points array that is used as the first point in the curve.
numberOfSegmentsInt32The number of segments used to draw the curve. A segment can be thought of as a line connecting two points.
tensionSingleA value that specifies the amount that the curve bends between control points. Values greater than 1 produce unpredictable results.

See Also