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)
ParameterTypeDescription
brushBrushBrush that determines the characteristics of the fill.
pointsPointF[]Array of PointF structures that define the spline.

Exceptions

exceptioncondition
ArgumentNullExceptionbrush 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)
ParameterTypeDescription
brushBrushBrush that determines the characteristics of the fill.
pointsPointF[]Array of PointF structures that define the spline.
fillModeFillModeMember of the FillMode enumeration that determines how the curve is filled.

Exceptions

exceptioncondition
ArgumentNullExceptionbrush 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)
ParameterTypeDescription
brushBrushA Brush that determines the characteristics of the fill.
pointsPointF[]Array of PointF structures that define the spline.
fillmodeFillModeMember of the FillMode enumeration that determines how the curve is filled.
tensionSingleValue greater than or equal to 0.0F that specifies the tension of the curve.

Exceptions

exceptioncondition
ArgumentNullExceptionbrush 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)
ParameterTypeDescription
brushBrushBrush that determines the characteristics of the fill.
pointsPoint[]Array of Point structures that define the spline.

Exceptions

exceptioncondition
ArgumentNullExceptionbrush 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)
ParameterTypeDescription
brushBrushBrush that determines the characteristics of the fill.
pointsPoint[]Array of Point structures that define the spline.
fillmodeFillModeMember of the FillMode enumeration that determines how the curve is filled.

Exceptions

exceptioncondition
ArgumentNullExceptionbrush 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)
ParameterTypeDescription
brushBrushBrush that determines the characteristics of the fill.
pointsPoint[]Array of Point structures that define the spline.
fillmodeFillModeMember of the FillMode enumeration that determines how the curve is filled.
tensionSingleValue greater than or equal to 0.0F that specifies the tension of the curve.

Exceptions

exceptioncondition
ArgumentNullExceptionbrush is null. -or- points is null.

See Also