Sdílet prostřednictvím


Size Constructors

Definition

Overloads

Size(Double)
Size(Vector2)
Size(Double, Double)

Size(Double)

Source:
Size.cs
Source:
Size.cs
public Size (double size = 0);
new Microsoft.Maui.Graphics.Size : double -> Microsoft.Maui.Graphics.Size
Public Sub New (Optional size As Double = 0)

Parameters

size
Double

Applies to

Size(Vector2)

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

Parameters

vector
Vector2

Applies to

Size(Double, Double)

Source:
Size.cs
Source:
Size.cs
public:
 Size(double width, double height);
public Size (double width, double height);
new Microsoft.Maui.Graphics.Size : double * double -> Microsoft.Maui.Graphics.Size
Public Sub New (width As Double, height As Double)

Parameters

width
Double
height
Double

Applies to