Gets the normalized version of a rectangle so that both the height and width are positive.
public static LeadRect normalize(LeadRect rect)
This method compares the top and bottom values, and swaps them if the top is greater than the bottom. Similarly, it swaps the left and right values if the left is greater than the right. This method is useful when dealing with different mapping modes and inverted rectangles.
Medical Web Viewer .NET
.NET, Java, Android, and iOS/macOS Assemblies
C API/C++ Class Libraries