Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.6.28
|
Leadtools Namespace > LeadRect Structure > Normalize Method : Normalize(LeadRect) Method |
public static LeadRect normalize(LeadRect rect)
function Leadtools.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.