Size(Vector2) Constructor
Initializes a new instance of the Size structure.
Definition
Namespace: Avalonia
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public Size(
Vector2 vector2
)
Public Sub New (
vector2 As Vector2
)
new :
vector2 : Vector2 -> Size
Parameters
- Vector2
- The vector to take values from.