Graphics.FillClosedCurve
FillClosedCurve(Brush, PointF[])
填充由 PointF 结构数组定义的闭合基数样条曲线的内部。此方法使用默认张力 0.5 和 Alternate 填充模式。
public void FillClosedCurve(Brush brush, PointF[] points)
| 参数 | 类型 | 描述 |
|---|
| brush | Brush | Brush,决定填充的特性。 |
| points | PointF[] | 定义样条的 PointF 结构数组。 |
异常
| 异常 | 条件 |
|---|
| ArgumentNullException | brush 为 null。-or- points 为 null。 |
另请参见
FillClosedCurve(Brush, PointF[], FillMode)
填充由 PointF 结构数组定义的闭合基数样条曲线的内部,使用指定的填充模式。此方法使用默认张力 0.5。
public void FillClosedCurve(Brush brush, PointF[] points, FillMode fillMode)
| 参数 | 类型 | 描述 |
|---|
| brush | Brush | Brush,决定填充的特性。 |
| points | PointF[] | 定义样条的 PointF 结构数组。 |
| fillMode | FillMode | FillMode 枚举的成员,用于确定曲线的填充方式。 |
异常
| 异常 | 条件 |
|---|
| ArgumentNullException | brush 为 null。-or- points 为 null。 |
另请参见
FillClosedCurve(Brush, PointF[], FillMode, float)
填充由 PointF 结构数组定义的闭合基数样条曲线的内部,使用指定的填充模式和张力。
public void FillClosedCurve(Brush brush, PointF[] points, FillMode fillmode, float tension)
| 参数 | 类型 | 描述 |
|---|
| brush | Brush | 一个决定填充特性的 Brush。 |
| points | PointF[] | 定义样条的 PointF 结构数组。 |
| fillmode | FillMode | FillMode 枚举的成员,用于确定曲线的填充方式。 |
| 张力 | 单精度 | 大于或等于 0.0F 的值,用于指定曲线的张力。 |
异常
| 异常 | 条件 |
|---|
| ArgumentNullException | brush 为 null。-or- points 为 null。 |
另请参见
FillClosedCurve(Brush, Point[])
填充由 Point 结构数组定义的闭合基数样条曲线的内部。此方法使用默认张力 0.5 和 Alternate 填充模式。
public void FillClosedCurve(Brush brush, Point[] points)
| 参数 | 类型 | 描述 |
|---|
| brush | Brush | Brush,决定填充的特性。 |
| points | Point[] | 定义样条曲线的 Point 结构数组。 |
异常
| 异常 | 条件 |
|---|
| ArgumentNullException | brush 为 null。-or- points 为 null。 |
另请参见
FillClosedCurve(Brush, Point[], FillMode)
填充由 Point 结构数组定义的闭合基数样条曲线的内部,使用指定的填充模式。此方法使用默认张力 0.5。
public void FillClosedCurve(Brush brush, Point[] points, FillMode fillmode)
| 参数 | 类型 | 描述 |
|---|
| brush | Brush | Brush,决定填充的特性。 |
| points | Point[] | 定义样条曲线的 Point 结构数组。 |
| fillmode | FillMode | FillMode 枚举的成员,用于确定曲线的填充方式。 |
异常
| 异常 | 条件 |
|---|
| ArgumentNullException | brush 为 null。-or- points 为 null。 |
另请参见
FillClosedCurve(Brush, Point[], FillMode, float)
使用指定的填充模式和张力,填充由一组 Point 结构定义的闭合基数样条曲线的内部。
public void FillClosedCurve(Brush brush, Point[] points, FillMode fillmode, float tension)
| 参数 | 类型 | 描述 |
|---|
| brush | Brush | Brush,决定填充的特性。 |
| points | Point[] | 定义样条曲线的 Point 结构数组。 |
| fillmode | FillMode | FillMode 枚举的成员,用于确定曲线的填充方式。 |
| 张力 | 单精度 | 大于或等于 0.0F 的值,用于指定曲线的张力。 |
异常
| 异常 | 条件 |
|---|
| ArgumentNullException | brush 为 null。-or- points 为 null。 |
另请参见