Graphics.FillClosedCurve Method (Brush, Point, FillMode)
Fills the interior of a closed cardinal spline curve defined by an array of Point structures using the specified fill mode.
Assembly: System.Drawing (in System.Drawing.dll)
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 Point structures.
This method uses a default tension of 0.5.
Creates a solid red brush.
Creates an array of four points to define a spline.
Sets the fill mode to Winding.
Fills the curve on the screen.
The curve has a default tension of 0.5.
Available since 1.1