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

返回

适用于