## Graphics::DrawCurve(const SharedPtr\<Pen\>\&, const ArrayPtr\<Point\>\&, float) method


使用指定的笔绘制样条。

```cpp
void System::Drawing::Graphics::DrawCurve(const SharedPtr<Pen> &pen, const ArrayPtr<Point> &points, float tension=0.5f)
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| pen | const SharedPtr\<Pen\>\& | 绘制样条曲线时使用的画笔 |
| points | const ArrayPtr\<Point\>\& | [Array](../../../system/array/) 用于确定样条曲线的点 |
| 张力 | 单精度浮点数 | 指定样条曲线张力的值 |

## 另见

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Pen](../../pen/)
* Typedef [ArrayPtr](../../../system/arrayptr/)
* Class [Point](../../point/)
* Class [Graphics](../)
* Namespace [System::Drawing](../../)
* Library [Aspose.Page for C++](../../../)
## Graphics::DrawCurve(const SharedPtr\<Pen\>\&, const ArrayPtr\<Point\>\&, int32_t, int32_t, float) method


使用指定的笔绘制样条。

```cpp
void System::Drawing::Graphics::DrawCurve(const SharedPtr<Pen> &pen, const ArrayPtr<Point> &points, int32_t offset, int32_t numberOfSegments, float tension=0.5f)
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| pen | const SharedPtr\<Pen\>\& | 绘制样条曲线时使用的画笔 |
| points | const ArrayPtr\<Point\>\& | [Array](../../../system/array/) 用于确定样条曲线的点 |
| offset | int32_t | 相对于 **points** 数组中第一个元素的偏移量 |
| numberOfSegments | int32_t | 要包含在曲线中的段数 |
| 张力 | 单精度浮点数 | 指定样条曲线张力的值 |

## 另见

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Pen](../../pen/)
* Typedef [ArrayPtr](../../../system/arrayptr/)
* Class [Point](../../point/)
* Class [Graphics](../)
* Namespace [System::Drawing](../../)
* Library [Aspose.Page for C++](../../../)
## Graphics::DrawCurve(const SharedPtr\<Pen\>\&, const ArrayPtr\<PointF\>\&, float) method


使用指定的笔绘制样条。

```cpp
void System::Drawing::Graphics::DrawCurve(const SharedPtr<Pen> &pen, const ArrayPtr<PointF> &points, float tension=0.5f)
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| pen | const SharedPtr\<Pen\>\& | 绘制样条曲线时使用的画笔 |
| points | const ArrayPtr\<PointF\>\& | [Array](../../../system/array/) 用于确定样条曲线的点 |
| 张力 | 单精度浮点数 | 指定样条曲线张力的值 |

## 另见

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Pen](../../pen/)
* Typedef [ArrayPtr](../../../system/arrayptr/)
* Class [PointF](../../pointf/)
* Class [Graphics](../)
* Namespace [System::Drawing](../../)
* Library [Aspose.Page for C++](../../../)
## Graphics::DrawCurve(const SharedPtr\<Pen\>\&, const ArrayPtr\<PointF\>\&, int32_t, int32_t, float) method


使用指定的笔绘制样条。

```cpp
void System::Drawing::Graphics::DrawCurve(const SharedPtr<Pen> &pen, const ArrayPtr<PointF> &points, int32_t offset, int32_t numberOfSegments, float tension=0.5f)
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| pen | const SharedPtr\<Pen\>\& | 绘制样条曲线时使用的画笔 |
| points | const ArrayPtr\<PointF\>\& | [Array](../../../system/array/) 用于确定样条曲线的点 |
| offset | int32_t | 相对于 **points** 数组中第一个元素的偏移量 |
| numberOfSegments | int32_t | 要包含在曲线中的段数 |
| 张力 | 单精度浮点数 | 指定样条曲线张力的值 |

## 另见

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Pen](../../pen/)
* Typedef [ArrayPtr](../../../system/arrayptr/)
* Class [PointF](../../pointf/)
* Class [Graphics](../)
* Namespace [System::Drawing](../../)
* Library [Aspose.Page for C++](../../../)
