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