Document Solutions for PDF
DS.Documents.Imaging Assembly / GrapeCity.Documents.Drawing Namespace / GcGraphics Class / FillRoundRect Method / FillRoundRect(RectangleF,Single,Single,Brush,Nullable<RectangleF>,Nullable<Matrix3x2>) 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 brush to use.
The optional bounds for a gradient brush.
The transformation applied to the brush.

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

    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.
    brush
    The brush to use.
    brushBounds
    The optional bounds for a gradient brush.
    brushTransform
    The transformation applied to the brush.
    See Also