Share via


RectangleGeometry Constructors

Definition

Overloads

Name Description
RectangleGeometry()

Initializes a new instance of the RectangleGeometry class.

RectangleGeometry(Rect)

Initializes a new instance of the RectangleGeometry class with the specified rectangle bounds.

RectangleGeometry()

Source:
RectangleGeometry.cs
Source:
RectangleGeometry.cs
Source:
RectangleGeometry.cs
Source:
RectangleGeometry.cs

Initializes a new instance of the RectangleGeometry class.

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

Applies to

RectangleGeometry(Rect)

Source:
RectangleGeometry.cs
Source:
RectangleGeometry.cs
Source:
RectangleGeometry.cs
Source:
RectangleGeometry.cs

Initializes a new instance of the RectangleGeometry class with the specified rectangle bounds.

public:
 RectangleGeometry(Microsoft::Maui::Graphics::Rect rect);
public RectangleGeometry(Microsoft.Maui.Graphics.Rect rect);
new Microsoft.Maui.Controls.Shapes.RectangleGeometry : Microsoft.Maui.Graphics.Rect -> Microsoft.Maui.Controls.Shapes.RectangleGeometry
Public Sub New (rect As Rect)

Parameters

rect
Rect

The rectangle bounds for the geometry.

Applies to