NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Graphics.FillClosedCurve (Brush, PointF[], FillMode)

Fills the interior of a closed curve defined by an array of points.

[Visual Basic]
Overloads Public Sub FillClosedCurve( _
   ByVal brush As Brush, _
   ByVal points() As PointF, _
   ByVal fillmode As FillMode _
)
[C#]
public void FillClosedCurve(
   Brush brush,
   PointF[] points,
   FillMode fillmode
);
[C++]
public: void FillClosedCurve(
   Brush* brush,
   PointF* points[],
   FillMode fillmode
);
[JScript]
public function FillClosedCurve(
   brush : Brush,
   points : PointF[],
   fillmode : FillMode
);

Parameters

brush
A Brush that determines the characteristics of the fill pattern.
points
An array of PointF objects that represent the points through which the curve passes.
fillmode
A FillMode that determines the

Remarks

This method fills the interior of a smooth closed curve that passes through each point in thearray. If the last point indoes not match the first point, then the curve is closed by connecting the last point to the first point.

Theparameter determines the shape of the curve. If the value ofis 0, this method draws line segments to connect the points.

The points array must contain at least 4 elements.

See Also

Graphics Class | Graphics Members | System.Drawing Namespace | Graphics.FillClosedCurve Overload List