PointF.Explicit Operator
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
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
Parameters
- point
- PointF
The point to convert from.
Returns
The vector that represents the converted PointF.
Applies to
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
Parameters
- vector
- Vector2
The vector to convert.
Returns
The pair of coordinates that represents the converted Vector2.
Applies to
ทํางานร่วมกับเราใน GitHub
แหล่งที่มาสำหรับเนื้อหานี้สามารถพบได้บน GitHub ซึ่งคุณยังสามารถสร้างและตรวจสอบปัญหาและคำขอดึงข้อมูลได้ สำหรับข้อมูลเพิ่มเติม ให้ดูคู่มือผู้สนับสนุนของเรา