共用方式為


PointF Constructors

Definition

Overloads

PointF(SizeF)
PointF(Vector2)
PointF(Single, Single)

PointF(SizeF)

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

Parameters

sz
SizeF

Applies to

PointF(Vector2)

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

Parameters

Applies to

PointF(Single, Single)

Source:
PointF.cs
Source:
PointF.cs
public:
 PointF(float x, float y);
public PointF (float x, float y);
new Microsoft.Maui.Graphics.PointF : single * single -> Microsoft.Maui.Graphics.PointF
Public Sub New (x As Single, y As Single)

Parameters

x
Single
y
Single

Applies to