PointF.Implicit 運算子
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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
參數
- v
- Vector2