共用方式為


PointF.Implicit 運算子

定義

多載

Implicit(PointF to Point)
Implicit(Vector2 to PointF)

Implicit(PointF to Point)

public:
 static operator Microsoft::Maui::Graphics::Point(Microsoft::Maui::Graphics::PointF p);
public static implicit operator Microsoft.Maui.Graphics.Point (Microsoft.Maui.Graphics.PointF p);
static member op_Implicit : Microsoft.Maui.Graphics.PointF -> Microsoft.Maui.Graphics.Point
Public Shared Widening Operator CType (p As PointF) As Point

參數

p
PointF

傳回

適用於

Implicit(Vector2 to PointF)

public:
 static operator Microsoft::Maui::Graphics::PointF(System::Numerics::Vector2 v);
public static implicit operator Microsoft.Maui.Graphics.PointF (System.Numerics.Vector2 v);
static member op_Implicit : System.Numerics.Vector2 -> Microsoft.Maui.Graphics.PointF
Public Shared Widening Operator CType (v As Vector2) As PointF

參數

傳回

適用於