←Select platform

Normalize() Method

Summary

Normalizes the rectangle so that both the height and width are positive.

Syntax
C#
VB
C++
Java
public void Normalize() 
Public Overloads Sub Normalize()  
public void normalize() 
public: 
void Normalize();  

Remarks

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.

Requirements

Target Platforms

Help Version 20.0.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly