共用方式為


Point 建構函式

定義

多載

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

Point(Size)

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)

參數

sz
Size

適用於

Point(SizeF)

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)

參數

sz
SizeF

適用於

Point(Vector2)

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)

參數

適用於

Point(Double, Double)

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)

參數

x
Double
y
Double

適用於