Graphics.FillRoundedRectangle Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
FillRoundedRectangle(Brush, Rectangle, Size) |
Fills the interior of a rounded rectangle with a Brush. |
FillRoundedRectangle(Brush, RectangleF, SizeF) |
Fills the interior of a rounded rectangle with a Brush. |
FillRoundedRectangle(Brush, Rectangle, Size)
- Source:
- Graphics.cs
Fills the interior of a rounded rectangle with a Brush.
public:
void FillRoundedRectangle(System::Drawing::Brush ^ brush, System::Drawing::Rectangle rect, System::Drawing::Size radius);
public void FillRoundedRectangle (System.Drawing.Brush brush, System.Drawing.Rectangle rect, System.Drawing.Size radius);
member this.FillRoundedRectangle : System.Drawing.Brush * System.Drawing.Rectangle * System.Drawing.Size -> unit
Public Sub FillRoundedRectangle (brush As Brush, rect As Rectangle, radius As Size)
Parameters
- rect
- Rectangle
The bounds of the rounded rectangle.
- radius
- Size
The radius width and height used to round the corners of the rectangle.
Applies to
FillRoundedRectangle(Brush, RectangleF, SizeF)
- Source:
- Graphics.cs
Fills the interior of a rounded rectangle with a Brush.
public:
void FillRoundedRectangle(System::Drawing::Brush ^ brush, System::Drawing::RectangleF rect, System::Drawing::SizeF radius);
public void FillRoundedRectangle (System.Drawing.Brush brush, System.Drawing.RectangleF rect, System.Drawing.SizeF radius);
member this.FillRoundedRectangle : System.Drawing.Brush * System.Drawing.RectangleF * System.Drawing.SizeF -> unit
Public Sub FillRoundedRectangle (brush As Brush, rect As RectangleF, radius As SizeF)
Parameters
- rect
- RectangleF
The bounds of the rounded rectangle.
- radius
- SizeF
The radius width and height used to round the corners of the rectangle.