Condividi tramite


SizeF.Explicit Operatore

Definizione

Overload

Explicit(SizeF to PointF)

Converte la struttura SizeF specificata in una struttura PointF.

Explicit(SizeF to Vector2)

Converte l'oggetto SizeF specificato in un Vector2.

Explicit(Vector2 to SizeF)

Converte l'oggetto Vector2 specificato in un SizeF.

Explicit(SizeF to PointF)

Origine:
SizeF.cs
Origine:
SizeF.cs
Origine:
SizeF.cs

Converte la struttura SizeF specificata in una struttura PointF.

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

Parametri

size
SizeF

Struttura SizeF da convertire.

Restituisce

Struttura PointF in cui questo operatore esegue la conversione.

Si applica a

Explicit(SizeF to Vector2)

Origine:
SizeF.cs
Origine:
SizeF.cs
Origine:
SizeF.cs

Converte l'oggetto SizeF specificato in un Vector2.

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

Parametri

size
SizeF

Coppia di numeri da convertire.

Restituisce

Dimensione, convertita in un'istanza Vector2 di .

Si applica a

Explicit(Vector2 to SizeF)

Origine:
SizeF.cs
Origine:
SizeF.cs
Origine:
SizeF.cs

Converte l'oggetto Vector2 specificato in un SizeF.

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

Parametri

vector
Vector2

Vettore da convertire.

Restituisce

Vettore convertito in un'istanza SizeF di .

Si applica a