Graphics.DrawClosedCurve
DrawClosedCurve(Pen, PointF[])
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)
| Parameter | Type | Description |
|---|
| pen | Pen | Pen that determines the color, width, and height of the curve. |
| points | PointF[] | Array of PointF structures that define the spline. |
Exceptions
| exception | condition |
|---|
| ArgumentNullException | pen is null. -or- points is null. |
See Also
DrawClosedCurve(Pen, PointF[], float)
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)
| Parameter | Type | Description |
|---|
| pen | Pen | Pen that determines the color, width, and height of the curve. |
| points | PointF[] | Array of PointF structures that define the spline. |
| tension | Single | Value greater than or equal to 0.0F that specifies the tension of the curve. |
Exceptions
| exception | condition |
|---|
| ArgumentNullException | pen is null. -or- points is null. |
See Also
DrawClosedCurve(Pen, Point[])
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)
| Parameter | Type | Description |
|---|
| pen | Pen | Pen that determines the color, width, and height of the curve. |
| points | Point[] | Array of Point structures that define the spline. |
Exceptions
| exception | condition |
|---|
| ArgumentNullException | pen is null. -or- points is null. |
See Also
DrawClosedCurve(Pen, Point[], float)
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)
| Parameter | Type | Description |
|---|
| pen | Pen | Pen that determines the color, width, and height of the curve. |
| points | Point[] | Array of Point structures that define the spline. |
| tension | Single | Value greater than or equal to 0.0F that specifies the tension of the curve. |
Exceptions
| exception | condition |
|---|
| ArgumentNullException | pen is null. -or- points is null. |
See Also