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