次の方法で共有


SizeF Constructors

Definition

Overloads

SizeF(Vector2)
SizeF(Single)
SizeF(Single, Single)

SizeF(Vector2)

Source:
SizeF.cs
Source:
SizeF.cs
public:
 SizeF(System::Numerics::Vector2 vector);
public SizeF (System.Numerics.Vector2 vector);
new Microsoft.Maui.Graphics.SizeF : System.Numerics.Vector2 -> Microsoft.Maui.Graphics.SizeF
Public Sub New (vector As Vector2)

Parameters

vector
Vector2

Applies to

SizeF(Single)

Source:
SizeF.cs
Source:
SizeF.cs
public SizeF (float size = 0);
new Microsoft.Maui.Graphics.SizeF : single -> Microsoft.Maui.Graphics.SizeF
Public Sub New (Optional size As Single = 0)

Parameters

size
Single

Applies to

SizeF(Single, Single)

Source:
SizeF.cs
Source:
SizeF.cs
public:
 SizeF(float width, float height);
public SizeF (float width, float height);
new Microsoft.Maui.Graphics.SizeF : single * single -> Microsoft.Maui.Graphics.SizeF
Public Sub New (width As Single, height As Single)

Parameters

width
Single
height
Single

Applies to