←Select platform

GetCornerPoints Method

Summary

Gets the four corner points of a rectangle.

Syntax
C#
C++/CLI
Java
Python
public static LeadPointD[] GetCornerPoints( 
   LeadRectD rect 
) 
public static LeadPointD[] getCornerPoints( 
   LeadRectD rect 
); 
public:  
   static array<LeadPointD^>^ GetCornerPoints( 
      LeadRectD^ rect 
   ) 
def GetCornerPoints(self,rect): 

Parameters

rect

The source rectangle.

Return Value

The four corner points, in the following order: top-left, top-right, bottom-left and bottom-right.

Requirements

Target Platforms

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

Leadtools Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.