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
Совместная работа с нами на GitHub
Источник этого содержимого можно найти на GitHub, где также можно создавать и просматривать проблемы и запросы на вытягивание. Дополнительные сведения см. в нашем руководстве для участников.