Rect(Double, Double, Double, Double) Constructor
Initializes a new instance of the Rect structure.
Definition
Namespace: Avalonia
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public Rect(
double x,
double y,
double width,
double height
)
Public Sub New (
x As Double,
y As Double,
width As Double,
height As Double
)
new :
x : float *
y : float *
width : float *
height : float -> Rect