ComponentOne CalendarView 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.
    See Also