←Select platform

Intersect(LeadRect,LeadRect) Method

Summary
Returns an LeadRect structure that represents the intersection of two rectangles. If there is no intersection, an empty rectangle is returned.
Syntax
C#
Objective-C
C++/CLI
Java
Python
public static LeadRect Intersect( 
   LeadRect a, 
   LeadRect b 
) 
LeadRect LeadRectIntersect(LeadRect rect1, LeadRect rect2) 
public static LeadRect intersect( 
   LeadRect a, 
   LeadRect b 
); 
public: 
static LeadRect Intersect(  
   LeadRect a, 
   LeadRect b 
)  
def Intersect(self,a,b): 

Parameters

a
A rectangle to intersect.

b
A rectangle to intersect

Return Value

A third LeadRect structure the size of which represents the overlapped area of the two specified rectangles.

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.