Share via


RoundRectangleGeometry Constructors

Definition

Overloads

RoundRectangleGeometry()

Initializes a new instance of the RoundRectangleGeometry class.

RoundRectangleGeometry(CornerRadius, Rect)

Initializes a new instance of the RoundRectangleGeometry class with the specified corner radius and rectangle.

RoundRectangleGeometry()

Source:
RoundRectangleGeometry.cs
Source:
RoundRectangleGeometry.cs
Source:
RoundRectangleGeometry.cs

Initializes a new instance of the RoundRectangleGeometry class.

public:
 RoundRectangleGeometry();
public RoundRectangleGeometry();
Public Sub New ()

Applies to

RoundRectangleGeometry(CornerRadius, Rect)

Source:
RoundRectangleGeometry.cs
Source:
RoundRectangleGeometry.cs
Source:
RoundRectangleGeometry.cs

Initializes a new instance of the RoundRectangleGeometry class with the specified corner radius and rectangle.

public:
 RoundRectangleGeometry(Microsoft::Maui::CornerRadius cornerRadius, Microsoft::Maui::Graphics::Rect rect);
public RoundRectangleGeometry(Microsoft.Maui.CornerRadius cornerRadius, Microsoft.Maui.Graphics.Rect rect);
new Microsoft.Maui.Controls.Shapes.RoundRectangleGeometry : Microsoft.Maui.CornerRadius * Microsoft.Maui.Graphics.Rect -> Microsoft.Maui.Controls.Shapes.RoundRectangleGeometry
Public Sub New (cornerRadius As CornerRadius, rect As Rect)

Parameters

cornerRadius
CornerRadius

The corner radius for the rounded rectangle.

rect
Rect

The rectangle that defines the bounds of the geometry.

Applies to