共用方式為


PointF.Explicit 運算子

定義

多載

Explicit(PointF to Vector2)
Explicit(PointF to SizeF)

Explicit(PointF to Vector2)

public:
 static explicit operator System::Numerics::Vector2(Microsoft::Maui::Graphics::PointF p);
public static explicit operator System.Numerics.Vector2 (Microsoft.Maui.Graphics.PointF p);
static member op_Explicit : Microsoft.Maui.Graphics.PointF -> System.Numerics.Vector2
Public Shared Narrowing Operator CType (p As PointF) As Vector2

參數

p
PointF

傳回

適用於

Explicit(PointF to SizeF)

public:
 static explicit operator Microsoft::Maui::Graphics::SizeF(Microsoft::Maui::Graphics::PointF pt);
public static explicit operator Microsoft.Maui.Graphics.SizeF (Microsoft.Maui.Graphics.PointF pt);
static member op_Explicit : Microsoft.Maui.Graphics.PointF -> Microsoft.Maui.Graphics.SizeF
Public Shared Narrowing Operator CType (pt As PointF) As SizeF

參數

pt
PointF

傳回

適用於