Rect.

Normalize() Method

Summary

Normalizes the rectangle so both the Width and Height are positive, without changing the location of the rectangle
Namespace
Avalonia
Containing Type
Rect

Syntax

public Rect Normalize()

Remarks

Empty rect will be return when Rect contains invalid values. Like NaN.

Return Value

Type Description
Rect Normalized Rect