共用方式為


Point Constructors

Definition

Overloads

Point(Size)
Point(SizeF)
Point(Vector2)
Point(Double, Double)

Point(Size)

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

Parameters

sz
Size

Applies to

Point(SizeF)

Source:
Point.cs
Source:
Point.cs
public:
 Point(Microsoft::Maui::Graphics::SizeF sz);
public Point (Microsoft.Maui.Graphics.SizeF sz);
new Microsoft.Maui.Graphics.Point : Microsoft.Maui.Graphics.SizeF -> Microsoft.Maui.Graphics.Point
Public Sub New (sz As SizeF)

Parameters

sz
SizeF

Applies to

Point(Vector2)

Source:
Point.cs
Source:
Point.cs
public:
 Point(System::Numerics::Vector2 v);
public Point (System.Numerics.Vector2 v);
new Microsoft.Maui.Graphics.Point : System.Numerics.Vector2 -> Microsoft.Maui.Graphics.Point
Public Sub New (v As Vector2)

Parameters

Applies to

Point(Double, Double)

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

Parameters

x
Double
y
Double

Applies to