Graphics.FillClosedCurve
FillClosedCurve(Brush, PointF[])
Fills the interior of a closed cardinal spline curve defined by an array of PointF structures. This method uses a default tension of 0.5 and Alternate fill mode.
public void FillClosedCurve(Brush brush, PointF[] points)
| Parameter | Type | Description |
|---|
| brush | Brush | Brush that determines the characteristics of the fill. |
| points | PointF[] | Array of PointF structures that define the spline. |
Exceptions
| exception | condition |
|---|
| ArgumentNullException | brush is null. -or- points is null. |
See Also
FillClosedCurve(Brush, PointF[], FillMode)
Fills the interior of a closed cardinal spline curve defined by an array of PointF structures using the specified fill mode. This method uses a default tension of 0.5.
public void FillClosedCurve(Brush brush, PointF[] points, FillMode fillMode)
| Parameter | Type | Description |
|---|
| brush | Brush | Brush that determines the characteristics of the fill. |
| points | PointF[] | Array of PointF structures that define the spline. |
| fillMode | FillMode | Member of the FillMode enumeration that determines how the curve is filled. |
Exceptions
| exception | condition |
|---|
| ArgumentNullException | brush is null. -or- points is null. |
See Also
FillClosedCurve(Brush, PointF[], FillMode, float)
Fills the interior of a closed cardinal spline curve defined by an array of PointF structures using the specified fill mode and tension.
public void FillClosedCurve(Brush brush, PointF[] points, FillMode fillmode, float tension)
| Parameter | Type | Description |
|---|
| brush | Brush | A Brush that determines the characteristics of the fill. |
| points | PointF[] | Array of PointF structures that define the spline. |
| fillmode | FillMode | Member of the FillMode enumeration that determines how the curve is filled. |
| tension | Single | Value greater than or equal to 0.0F that specifies the tension of the curve. |
Exceptions
| exception | condition |
|---|
| ArgumentNullException | brush is null. -or- points is null. |
See Also
FillClosedCurve(Brush, Point[])
Fills the interior of a closed cardinal spline curve defined by an array of Point structures. This method uses a default tension of 0.5 and Alternate fill mode.
public void FillClosedCurve(Brush brush, Point[] points)
| Parameter | Type | Description |
|---|
| brush | Brush | Brush that determines the characteristics of the fill. |
| points | Point[] | Array of Point structures that define the spline. |
Exceptions
| exception | condition |
|---|
| ArgumentNullException | brush is null. -or- points is null. |
See Also
FillClosedCurve(Brush, Point[], FillMode)
Fills the interior of a closed cardinal spline curve defined by an array of Point structures using the specified fill mode. This method uses a default tension of 0.5.
public void FillClosedCurve(Brush brush, Point[] points, FillMode fillmode)
| Parameter | Type | Description |
|---|
| brush | Brush | Brush that determines the characteristics of the fill. |
| points | Point[] | Array of Point structures that define the spline. |
| fillmode | FillMode | Member of the FillMode enumeration that determines how the curve is filled. |
Exceptions
| exception | condition |
|---|
| ArgumentNullException | brush is null. -or- points is null. |
See Also
FillClosedCurve(Brush, Point[], FillMode, float)
Fills the interior of a closed cardinal spline curve defined by an array of Point structures using the specified fill mode and tension.
public void FillClosedCurve(Brush brush, Point[] points, FillMode fillmode, float tension)
| Parameter | Type | Description |
|---|
| brush | Brush | Brush that determines the characteristics of the fill. |
| points | Point[] | Array of Point structures that define the spline. |
| fillmode | FillMode | Member of the FillMode enumeration that determines how the curve is filled. |
| tension | Single | Value greater than or equal to 0.0F that specifies the tension of the curve. |
Exceptions
| exception | condition |
|---|
| ArgumentNullException | brush is null. -or- points is null. |
See Also