Rect(Size) Constructor
Initializes a new instance of the Rect structure.
Definition
Namespace: Avalonia
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public Rect(
Size size
)
Public Sub New (
size As Size
)
new :
size : Size -> Rect
Parameters
- Size
- The size of the rectangle.