←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 23.0.2024.5.22
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

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