System.Drawing.Graphics.FillClosedCurve Method

Fills the interior of a closed cardinal spline curve defined by an array of System.Drawing.Point structures.

Syntax

public void FillClosedCurve (Brush brush, Point[] points)

Parameters

brush
System.Drawing.Brush that determines the characteristics of the fill.
points
Array of System.Drawing.Point structures that define the spline.

Remarks

This method fills the interior of a closed cardinal spline that passes through each point in the array. If the last point does not match the first point, an additional curve segment is added from the last point to the first point to close it.

The array of points must contain at least four System.Drawing.Point structures.

This method uses a default tension of 0.5.

Requirements

Namespace: System.Drawing
Assembly: System.Drawing (in System.Drawing.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0