Rect 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
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
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.