ComponentOne PDF for .NET
C1.C1Pdf Namespace / C1PdfDocument Class / FillRectangle Method / FillRectangle(Brush,RectangleF,SizeF) Method
The object that determines the color used to fill the rectangle.
A rectangle structure that represents the rectangle to fill.
A size structure that contains the radius of the rectangle corners.

In This Topic
    FillRectangle(Brush,RectangleF,SizeF) Method
    In This Topic
    Fills the interior of a rounded rectangle specified by rectangle and size structures.
    Syntax
    'Declaration
     
    
    Public Overloads Sub FillRectangle( _
       ByVal brush As Brush, _
       ByVal rc As RectangleF, _
       ByVal corners As SizeF _
    ) 
    public void FillRectangle( 
       Brush brush,
       RectangleF rc,
       SizeF corners
    )

    Parameters

    brush
    The object that determines the color used to fill the rectangle.
    rc
    A rectangle structure that represents the rectangle to fill.
    corners
    A size structure that contains the radius of the rectangle corners.
    Remarks
    All coordinates are expressed in points, measured from the upper-left corner of the page.
    See Also