Documents for Imaging .NET Edition
GrapeCity.Documents.Imaging Assembly / GrapeCity.Documents.Drawing Namespace / GcGraphics Class / FillPolygon Method / FillPolygon(PointF[],Brush,FillMode,Nullable<RectangleF>,Nullable<Matrix3x2>) Method
An array of points specifying the polygon.
The fill brush.
The fill mode (alternate by default).
The optional bounds for a gradient brush.
The transformation applied to the brush.

In This Topic
    FillPolygon(PointF[],Brush,FillMode,Nullable<RectangleF>,Nullable<Matrix3x2>) Method
    In This Topic
    Fills a polygon specified by an array of points, using a specified brush and fill mode.
    Syntax
    'Declaration
     
    Public Overloads Sub FillPolygon( _
       ByVal points() As System.Drawing.PointF, _
       ByVal brush As Brush, _
       Optional ByVal fillMode As FillMode, _
       Optional ByVal brushBounds As System.Nullable(Of RectangleF), _
       Optional ByVal brushTransform As System.Nullable(Of Matrix3x2) _
    ) 
    public void FillPolygon( 
       System.Drawing.PointF[] points,
       Brush brush,
       FillMode fillMode,
       System.Nullable<RectangleF> brushBounds,
       System.Nullable<Matrix3x2> brushTransform
    )

    Parameters

    points
    An array of points specifying the polygon.
    brush
    The fill brush.
    fillMode
    The fill mode (alternate by default).
    brushBounds
    The optional bounds for a gradient brush.
    brushTransform
    The transformation applied to the brush.
    See Also