←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#
VB
Objective-C
C++
Java
public static LeadRect Intersect( 
   LeadRect a, 
   LeadRect b 
) 
Public Overloads Shared Function Intersect( _ 
   ByVal a As LeadRect, _ 
   ByVal b As LeadRect _ 
) As LeadRect 
LeadRect LeadRectIntersect(LeadRect rect1, LeadRect rect2) 
public static LeadRect intersectRects(LeadRect rect1, LeadRect rect2) 
public: 
static LeadRect Intersect(  
   LeadRect a, 
   LeadRect 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 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly

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