Condividi tramite


PointF.Explicit Operatore

Definizione

Overload

Explicit(PointF to Vector2)

Converte l'oggetto PointF specificato in un Vector2.

Explicit(Vector2 to PointF)

Converte l'oggetto Vector2 specificato in un PointF.

Explicit(PointF to Vector2)

Origine:
PointF.cs
Origine:
PointF.cs
Origine:
PointF.cs

Converte l'oggetto PointF specificato in un Vector2.

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

Parametri

point
PointF

Punto da cui eseguire la conversione.

Restituisce

Vettore che rappresenta l'oggetto convertito PointF.

Si applica a

Explicit(Vector2 to PointF)

Origine:
PointF.cs
Origine:
PointF.cs
Origine:
PointF.cs

Converte l'oggetto Vector2 specificato in un PointF.

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

Parametri

vector
Vector2

Vettore da convertire.

Restituisce

Coppia di coordinate che rappresenta l'oggetto convertito Vector2.

Si applica a