Udostępnij za pośrednictwem


Rect Constructors

Definition

Overloads

Rect(Point, Size)
Rect(Double, Double, Double, Double)

Rect(Point, Size)

Source:
Rect.cs
Source:
Rect.cs
public:
 Rect(Microsoft::Maui::Graphics::Point loc, Microsoft::Maui::Graphics::Size sz);
public Rect (Microsoft.Maui.Graphics.Point loc, Microsoft.Maui.Graphics.Size sz);
new Microsoft.Maui.Graphics.Rect : Microsoft.Maui.Graphics.Point * Microsoft.Maui.Graphics.Size -> Microsoft.Maui.Graphics.Rect
Public Sub New (loc As Point, sz As Size)

Parameters

loc
Point
sz
Size

Applies to

Rect(Double, Double, Double, Double)

Source:
Rect.cs
Source:
Rect.cs
public:
 Rect(double x, double y, double width, double height);
public Rect (double x, double y, double width, double height);
new Microsoft.Maui.Graphics.Rect : double * double * double * double -> Microsoft.Maui.Graphics.Rect
Public Sub New (x As Double, y As Double, width As Double, height As Double)

Parameters

x
Double
y
Double
width
Double
height
Double

Applies to