Llegeix en anglès Edita

Comparteix a través de


RectangleF.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(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)

Source:
RectangleF.cs
Source:
RectangleF.cs
Source:
RectangleF.cs

Converts the specified RectangleF to a Vector4.

public static explicit operator System.Numerics.Vector4(System.Drawing.RectangleF rectangle);

Parameters

rectangle
RectangleF

The rectangle to convert.

Returns

The vector that represents the converted RectangleF.

Applies to

.NET 10 i altres versions
Producte Versions
.NET 6, 7, 8, 9, 10

Explicit(Vector4 to RectangleF)

Source:
RectangleF.cs
Source:
RectangleF.cs
Source:
RectangleF.cs

Converts the specified Vector4 to a RectangleF.

public static explicit operator System.Drawing.RectangleF(System.Numerics.Vector4 vector);

Parameters

vector
Vector4

The vector to convert.

Returns

The rectangle that represents the converted Vector4.

Applies to

.NET 10 i altres versions
Producte Versions
.NET 6, 7, 8, 9, 10