RectangleF.Explicit Operator

Definition

Overloads

Explicit(RectangleF to Vector4)

Converts the specified RectangleF to a Vector4.

Explicit(Vector4 to RectangleF)

Converts the specified Vector4 to a RectangleF.

Explicit(RectangleF to Vector4)

Converts the specified RectangleF to a Vector4.

public:
 static explicit operator System::Numerics::Vector4(System::Drawing::RectangleF rectangle);
public static explicit operator System.Numerics.Vector4 (System.Drawing.RectangleF rectangle);
static member op_Explicit : System.Drawing.RectangleF -> System.Numerics.Vector4
Public Shared Narrowing Operator CType (rectangle As RectangleF) As Vector4

Parameters

rectangle
RectangleF

The rectangle to convert.

Returns

The vector that represents the converted RectangleF.

Applies to

Explicit(Vector4 to RectangleF)

Converts the specified Vector4 to a RectangleF.

public:
 static explicit operator System::Drawing::RectangleF(System::Numerics::Vector4 vector);
public static explicit operator System.Drawing.RectangleF (System.Numerics.Vector4 vector);
static member op_Explicit : System.Numerics.Vector4 -> System.Drawing.RectangleF
Public Shared Narrowing Operator CType (vector As Vector4) As RectangleF

Parameters

vector
Vector4

The vector to convert.

Returns

The rectangle that represents the converted Vector4.

Applies to