ImageMan.Net Version 3 Summer 2012 Release
FillPolygon(Brush,PointF[]) Method
See Also  Send Feedback
DTI.ImageMan Namespace > ImGraphic Class > FillPolygon Method : FillPolygon(Brush,PointF[]) Method





brush
Brush color to fill in Polygon.
points
An array of points describing the circumference of the Polygon.

Glossary Item Box

Fill a Polygon. Uses default method of winding for figuring whether an enclosed area needs to be filled or not.

Syntax

Visual Basic (Declaration) 
Public Overloads Sub FillPolygon( _
   ByVal brush As System.Drawing.Brush, _
   ByVal points() As System.Drawing.PointF _
) 
Visual Basic (Usage)Copy Code
Dim instance As ImGraphic
Dim brush As System.Drawing.Brush
Dim points() As System.Drawing.PointF
 
instance.FillPolygon(brush, points)
C# 
public void FillPolygon( 
   System.Drawing.Brush brush,
   System.Drawing.PointF[] points
)
JScript 
public function FillPolygon( 
   brush : System.Drawing.Brush,
   points : System.Drawing.PointF[]
);
Managed Extensions for C++ 
public: void FillPolygon( 
   System.Drawing.Brush* brush,
   System.Drawing.PointF[]* points
) 
C++/CLI 
public:
void FillPolygon( 
   System.Drawing.Brush^ brush,
   System.Drawing.array<PointF>^ points
) 

Parameters

brush
Brush color to fill in Polygon.
points
An array of points describing the circumference of the Polygon.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2014 Data Techniques, Inc. All Rights Reserved.