Documents for Imaging .NET Edition | GCDocuments
GrapeCity.Documents.Imaging Assembly / GrapeCity.Documents.Drawing Namespace / GcGraphics Class / FillRoundRect Method / FillRoundRect(RectangleF,Single,Brush,Nullable<RectangleF>,Nullable<Matrix3x2>) Method
A System.Drawing.RectangleF structure that represents the rectangle to fill.
The 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,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 radius 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 radius,
       Brush brush,
       System.Nullable<RectangleF> brushBounds,
       System.Nullable<Matrix3x2> brushTransform
    )

    Parameters

    bounds
    A System.Drawing.RectangleF structure that represents the rectangle to fill.
    radius
    The 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