Freigeben über


SizeF.Explicit Operator

Definition

Overloads

Explicit(SizeF to PointF)
Explicit(SizeF to Vector2)
Explicit(Vector2 to SizeF)

Explicit(SizeF to PointF)

Source:
SizeF.cs
Source:
SizeF.cs
public:
 static explicit operator Microsoft::Maui::Graphics::PointF(Microsoft::Maui::Graphics::SizeF size);
public static explicit operator Microsoft.Maui.Graphics.PointF (Microsoft.Maui.Graphics.SizeF size);
static member op_Explicit : Microsoft.Maui.Graphics.SizeF -> Microsoft.Maui.Graphics.PointF
Public Shared Narrowing Operator CType (size As SizeF) As PointF

Parameters

size
SizeF

Returns

Applies to

Explicit(SizeF to Vector2)

Source:
SizeF.cs
Source:
SizeF.cs
public:
 static explicit operator System::Numerics::Vector2(Microsoft::Maui::Graphics::SizeF size);
public static explicit operator System.Numerics.Vector2 (Microsoft.Maui.Graphics.SizeF size);
static member op_Explicit : Microsoft.Maui.Graphics.SizeF -> System.Numerics.Vector2
Public Shared Narrowing Operator CType (size As SizeF) As Vector2

Parameters

size
SizeF

Returns

Applies to

Explicit(Vector2 to SizeF)

Source:
SizeF.cs
Source:
SizeF.cs
public:
 static explicit operator Microsoft::Maui::Graphics::SizeF(System::Numerics::Vector2 size);
public static explicit operator Microsoft.Maui.Graphics.SizeF (System.Numerics.Vector2 size);
static member op_Explicit : System.Numerics.Vector2 -> Microsoft.Maui.Graphics.SizeF
Public Shared Narrowing Operator CType (size As Vector2) As SizeF

Parameters

size
Vector2

Returns

Applies to