GdPicture.NET.14
GdPicture14 Namespace / GdPictureImaging Class / DrawFilledClosedCurve Method
GdPicture image identifier.
Array of System.Drawing.Point that specifies the coordinates that the cardinal spline passes through.
Color of the filled curve. A suitable color value can be obtained by using the ARGB() method.
Nonnegative real number that specifies how tightly the spline bends as it passes through the points. A value of 0 specifies that the spline is a sequence of straight lines. As the value increases, the curve becomes fuller. The default value is 0.5f.
Specifies how to fill a closed area that is within another closed area and that is created when the curve or path passes over itself. A member of the Drawing2D.FillMode enumeration.
Set to True to apply the Antialiasing algorithm else False.





In This Topic
DrawFilledClosedCurve Method
In This Topic
Draws a filled closed curve on a GdPicture image.
Syntax
'Declaration
 
Public Function DrawFilledClosedCurve( _
   ByVal ImageID As Integer, _
   ByVal arPoints() As Point, _
   ByVal FillColor As Color, _
   ByVal Tension As Single, _
   ByVal FillMD As FillMode, _
   ByVal AntiAlias As Boolean _
) As GdPictureStatus
public GdPictureStatus DrawFilledClosedCurve( 
   int ImageID,
   Point[] arPoints,
   Color FillColor,
   float Tension,
   FillMode FillMD,
   bool AntiAlias
)
public function DrawFilledClosedCurve( 
    ImageID: Integer;
    arPoints: Pointarray of;
    FillColor: Color;
    Tension: Single;
    FillMD: FillMode;
    AntiAlias: Boolean
): GdPictureStatus; 
public function DrawFilledClosedCurve( 
   ImageID : int,
   arPoints : Point[],
   FillColor : Color,
   Tension : float,
   FillMD : FillMode,
   AntiAlias : boolean
) : GdPictureStatus;
public: GdPictureStatus DrawFilledClosedCurve( 
   int ImageID,
   Point[]* arPoints,
   Color FillColor,
   float Tension,
   FillMode FillMD,
   bool AntiAlias
) 
public:
GdPictureStatus DrawFilledClosedCurve( 
   int ImageID,
   array<Point>^ arPoints,
   Color FillColor,
   float Tension,
   FillMode FillMD,
   bool AntiAlias
) 

Parameters

ImageID
GdPicture image identifier.
arPoints
Array of System.Drawing.Point that specifies the coordinates that the cardinal spline passes through.
FillColor
Color of the filled curve. A suitable color value can be obtained by using the ARGB() method.
Tension
Nonnegative real number that specifies how tightly the spline bends as it passes through the points. A value of 0 specifies that the spline is a sequence of straight lines. As the value increases, the curve becomes fuller. The default value is 0.5f.
FillMD
Specifies how to fill a closed area that is within another closed area and that is created when the curve or path passes over itself. A member of the Drawing2D.FillMode enumeration.
AntiAlias
Set to True to apply the Antialiasing algorithm else False.

Return Value

A member of the GdPictureStatus enumeration.
Remarks
If the first and last coordinates in the points array are not identical, a line is drawn between them to close the polygon.
See Also