Document Solutions for PDF
GrapeCity.Documents.Imaging Assembly / GrapeCity.Documents.Drawing Namespace / GcGraphics Class / FillRoundRect Method / FillRoundRect(RectangleF,Single,Single,Color) Method
A System.Drawing.RectangleF structure that represents the rectangle to fill.
The x-radius for the quarter ellipse that is drawn to replace every corner of the rectangle.
The y-radius for the quarter ellipse that is drawn to replace every corner of the rectangle.
The fill color.

In This Topic
    FillRoundRect(RectangleF,Single,Single,Color) Method
    In This Topic
    Fills a rounded rectangle witih a solid color.
    Syntax
    'Declaration
     
    Public Overloads Sub FillRoundRect( _
       ByVal bounds As System.Drawing.RectangleF, _
       ByVal radiusX As System.Single, _
       ByVal radiusY As System.Single, _
       ByVal color As System.Drawing.Color _
    ) 
    public void FillRoundRect( 
       System.Drawing.RectangleF bounds,
       System.float radiusX,
       System.float radiusY,
       System.Drawing.Color color
    )

    Parameters

    bounds
    A System.Drawing.RectangleF structure that represents the rectangle to fill.
    radiusX
    The x-radius for the quarter ellipse that is drawn to replace every corner of the rectangle.
    radiusY
    The y-radius for the quarter ellipse that is drawn to replace every corner of the rectangle.
    color
    The fill color.
    See Also