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 As System.Drawing.RectangleF, _
ByVal As System.Single, _
ByVal As System.Single, _
ByVal As Brush, _
Optional ByVal As System.Nullable(Of RectangleF), _
Optional ByVal As System.Nullable(Of Matrix3x2) _
)
public void FillRoundRect(
System.Drawing.RectangleF ,
System.float ,
System.float ,
Brush ,
System.Nullable<RectangleF> ,
System.Nullable<Matrix3x2>
)
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