←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 Leadtools.LeadRect, _ 
   ByVal b As Leadtools.LeadRect _ 
) As Leadtools.LeadRect 
LeadRect LeadRectIntersect(LeadRect rect1, LeadRect rect2) 
public static LeadRect intersectRects(LeadRect rect1, LeadRect rect2) 

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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly