PointF.Explicit 运算符
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
Explicit(PointF to Vector2) | |
Explicit(Vector2 to PointF) |
Explicit(PointF to Vector2)
- Source:
- PointF.cs
- Source:
- PointF.cs
- Source:
- PointF.cs
public:
static explicit operator System::Numerics::Vector2(System::Drawing::PointF point);
public static explicit operator System.Numerics.Vector2 (System.Drawing.PointF point);
static member op_Explicit : System.Drawing.PointF -> System.Numerics.Vector2
Public Shared Narrowing Operator CType (point As PointF) As Vector2
参数
- point
- PointF
要从中转换的点。
返回
表示转换后的 PointF向量。
适用于
Explicit(Vector2 to PointF)
- Source:
- PointF.cs
- Source:
- PointF.cs
- Source:
- PointF.cs
public:
static explicit operator System::Drawing::PointF(System::Numerics::Vector2 vector);
public static explicit operator System.Drawing.PointF (System.Numerics.Vector2 vector);
static member op_Explicit : System.Numerics.Vector2 -> System.Drawing.PointF
Public Shared Narrowing Operator CType (vector As Vector2) As PointF
参数
- vector
- Vector2
要变换的向量。
返回
表示转换后的 Vector2坐标对。