Graphics.DrawClosedCurve
DrawClosedCurve(Pen, PointF[])
绘制由一组 PointF 结构定义的闭合基数样条曲线。此方法使用默认张力 0.5 和 Alternate 填充模式。
public void DrawClosedCurve(Pen pen, PointF[] points)
| 参数 | 类型 | 描述 |
|---|
| pen | Pen | Pen 决定曲线的颜色、宽度和高度。 |
| points | PointF[] | 定义样条的 PointF 结构数组。 |
异常
| 异常 | 条件 |
|---|
| ArgumentNullException | pen 为 null。-or- points 为 null。 |
另请参见
DrawClosedCurve(Pen, PointF[], float)
绘制由一组 PointF 结构定义的闭合基数样条曲线,使用指定的张力。此方法使用默认的 Alternate 填充模式。
public void DrawClosedCurve(Pen pen, PointF[] points, float tension)
| 参数 | 类型 | 描述 |
|---|
| pen | Pen | Pen 决定曲线的颜色、宽度和高度。 |
| points | PointF[] | 定义样条的 PointF 结构数组。 |
| 张力 | 单精度 | 大于或等于 0.0F 的值,用于指定曲线的张力。 |
异常
| 异常 | 条件 |
|---|
| ArgumentNullException | pen 为 null。-or- points 为 null。 |
另请参见
DrawClosedCurve(Pen, Point[])
绘制由一组 Point 结构定义的闭合基数样条曲线。此方法使用默认张力 0.5 和 Alternate 填充模式。
public void DrawClosedCurve(Pen pen, Point[] points)
| 参数 | 类型 | 描述 |
|---|
| pen | Pen | Pen 决定曲线的颜色、宽度和高度。 |
| points | Point[] | 定义样条曲线的 Point 结构数组。 |
异常
| 异常 | 条件 |
|---|
| ArgumentNullException | pen 为 null。-or- points 为 null。 |
另请参见
DrawClosedCurve(Pen, Point[], float)
绘制由一组 Point 结构定义的闭合基数样条曲线,使用指定的张力。此方法使用默认的 Alternate 填充模式。
public void DrawClosedCurve(Pen pen, Point[] points, float tension)
| 参数 | 类型 | 描述 |
|---|
| pen | Pen | Pen 决定曲线的颜色、宽度和高度。 |
| points | Point[] | 定义样条曲线的 Point 结构数组。 |
| 张力 | 单精度 | 大于或等于 0.0F 的值,用于指定曲线的张力。 |
异常
| 异常 | 条件 |
|---|
| ArgumentNullException | pen 为 null。-or- points 为 null。 |
另请参见