ComponentOne MultiSelect for WinForms
C1.Framework.Drawing.Gdi Namespace / Graphics Class / FillPolygon Method
A Brush object used to fill the polygon.
A System.Drawing.Point structures that specify the vertices of the polygon.

In This Topic
    FillPolygon Method
    In This Topic
    Fill the special polygon on current Grapchis by using special brush
    Syntax
    'Declaration
     
    
    Public Sub FillPolygon( _
       ByVal brush As Brush, _
       ByVal points() As Point _
    ) 
    public void FillPolygon( 
       Brush brush,
       Point[] points
    )

    Parameters

    brush
    A Brush object used to fill the polygon.
    points
    A System.Drawing.Point structures that specify the vertices of the polygon.
    Exceptions
    ExceptionDescription
    Defines an exception class to handle the system error.
    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