共用方式為


Point.Implicit Operator

Definition

Overloads

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

Implicit(Point to PointF)

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

Parameters

p
Point

Returns

Applies to

Implicit(Vector2 to Point)

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

Parameters

Returns

Applies to