Graphics.FillClosedCurve Method (Brush, Point)
Fills the interior of a closed cardinal spline curve defined by an array of Point structures.
Assembly: System.Drawing (in System.Drawing.dll)
brush is a null reference (Nothing in Visual Basic).
points is a null reference (Nothing in Visual Basic).
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.
Fills the curve on the screen.
The curve has a default tension of 0.5.