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