Bagikan melalui


SizeF Konstruktor

Definisi

Overload

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

SizeF(Vector2)

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)

Parameter

vector
Vector2

Berlaku untuk

SizeF(Single)

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

Parameter

size
Single

Berlaku untuk

SizeF(Single, Single)

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)

Parameter

width
Single
height
Single

Berlaku untuk