RectangleGeometry Constructors
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
| 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.