Normalize Method
Normalizes the rectangle so both the Width and Height are positive, without changing the location of the rectangle
Definition
Namespace: Avalonia
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public Rect Normalize()
Public Function Normalize As Rect
member Normalize : unit -> Rect
Return Value
Rect
Normalized Rect
Remarks
Empty rect will be return when Rect contains invalid values. Like NaN.