DrawClosedCurve

Graphics.DrawClosedCurve method (1 of 4)

Draws a closed cardinal spline defined by an array of PointF structures. This method uses a default tension of 0.5 and Alternate fill mode.

public void DrawClosedCurve(Pen pen, PointF[] points)
ParameterTypeDescription
penPenPen that determines the color, width, and height of the curve.
pointsPointF[]Array of PointF structures that define the spline.

Exceptions

exceptioncondition
ArgumentNullExceptionpen is null. -or- points is null.

See Also


Graphics.DrawClosedCurve method (2 of 4)

Draws a closed cardinal spline defined by an array of PointF structures using a specified tension. This method uses a default Alternate fill mode.

public void DrawClosedCurve(Pen pen, PointF[] points, float tension)
ParameterTypeDescription
penPenPen that determines the color, width, and height of the curve.
pointsPointF[]Array of PointF structures that define the spline.
tensionSingleValue greater than or equal to 0.0F that specifies the tension of the curve.

Exceptions

exceptioncondition
ArgumentNullExceptionpen is null. -or- points is null.

See Also


Graphics.DrawClosedCurve method (3 of 4)

Draws a closed cardinal spline defined by an array of Point structures. This method uses a default tension of 0.5 and Alternate fill mode.

public void DrawClosedCurve(Pen pen, Point[] points)
ParameterTypeDescription
penPenPen that determines the color, width, and height of the curve.
pointsPoint[]Array of Point structures that define the spline.

Exceptions

exceptioncondition
ArgumentNullExceptionpen is null. -or- points is null.

See Also


Graphics.DrawClosedCurve method (4 of 4)

Draws a closed cardinal spline defined by an array of Point structures using a specified tension. This method uses a default Alternate fill mode.

public void DrawClosedCurve(Pen pen, Point[] points, float tension)
ParameterTypeDescription
penPenPen that determines the color, width, and height of the curve.
pointsPoint[]Array of Point structures that define the spline.
tensionSingleValue greater than or equal to 0.0F that specifies the tension of the curve.

Exceptions

exceptioncondition
ArgumentNullExceptionpen is null. -or- points is null.

See Also