←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
Java
Objective-C
C++
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 20.0.2019.3.11
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly