GraphicsPath.AddRoundedRectangle 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
AddRoundedRectangle(Rectangle, Size) |
Adds a rounded rectangle to this path. |
AddRoundedRectangle(RectangleF, SizeF) |
Adds a rounded rectangle to this path. |
AddRoundedRectangle(Rectangle, Size)
- Source:
- GraphicsPath.cs
- Source:
- GraphicsPath.cs
Adds a rounded rectangle to this path.
public:
void AddRoundedRectangle(System::Drawing::Rectangle rect, System::Drawing::Size radius);
public void AddRoundedRectangle (System.Drawing.Rectangle rect, System.Drawing.Size radius);
member this.AddRoundedRectangle : System.Drawing.Rectangle * System.Drawing.Size -> unit
Public Sub AddRoundedRectangle (rect As Rectangle, radius As Size)
Parameters
- rect
- Rectangle
The bounds of the rectangle to add.
- radius
- Size
The radius width and height used to round the corners of the rectangle.
Applies to
AddRoundedRectangle(RectangleF, SizeF)
- Source:
- GraphicsPath.cs
- Source:
- GraphicsPath.cs
Adds a rounded rectangle to this path.
public:
void AddRoundedRectangle(System::Drawing::RectangleF rect, System::Drawing::SizeF radius);
public void AddRoundedRectangle (System.Drawing.RectangleF rect, System.Drawing.SizeF radius);
member this.AddRoundedRectangle : System.Drawing.RectangleF * System.Drawing.SizeF -> unit
Public Sub AddRoundedRectangle (rect As RectangleF, radius As SizeF)
Parameters
- rect
- RectangleF
The bounds of the rectangle to add.
- radius
- SizeF
The radius width and height used to round the corners of the rectangle.
Applies to
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.