Documents for Imaging .NET Edition
GrapeCity.Documents.Imaging Assembly / GrapeCity.Documents.Drawing Namespace / GcGraphics Class / FillRectangle Method / FillRectangle(RectangleF,Brush,Nullable<RectangleF>,Nullable<Matrix3x2>) Method
A System.Drawing.RectangleF structure that represents the rectangle to fill.
The brush to use.
The optional bounds for a gradient brush.
The transformation applied to the brush.

In This Topic
    FillRectangle(RectangleF,Brush,Nullable<RectangleF>,Nullable<Matrix3x2>) Method
    In This Topic
    Fills a rectangle using a specified brush.
    Syntax
    'Declaration
     
    Public Overloads Sub FillRectangle( _
       ByVal bounds As System.Drawing.RectangleF, _
       ByVal brush As Brush, _
       Optional ByVal brushBounds As System.Nullable(Of RectangleF), _
       Optional ByVal brushTransform As System.Nullable(Of Matrix3x2) _
    ) 
    public void FillRectangle( 
       System.Drawing.RectangleF bounds,
       Brush brush,
       System.Nullable<RectangleF> brushBounds,
       System.Nullable<Matrix3x2> brushTransform
    )

    Parameters

    bounds
    A System.Drawing.RectangleF structure that represents the rectangle to fill.
    brush
    The brush to use.
    brushBounds
    The optional bounds for a gradient brush.
    brushTransform
    The transformation applied to the brush.
    See Also