Upravit

Sdílet prostřednictvím


Graphics.FillRoundedRectangle Method

Definition

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
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

brush
Brush

The Brush to fill the rounded rectangle with.

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
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

brush
Brush

The Brush to fill the rounded rectangle with.

rect
RectangleF

The bounds of the rounded rectangle.

radius
SizeF

The radius width and height used to round the corners of the rectangle.

Applies to