FillClosedCurve

Graphics.FillClosedCurve method (1 of 6)

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


Graphics.FillClosedCurve method (2 of 6)

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


Graphics.FillClosedCurve method (3 of 6)

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


Graphics.FillClosedCurve method (4 of 6)

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


Graphics.FillClosedCurve method (5 of 6)

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


Graphics.FillClosedCurve method (6 of 6)

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