←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 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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools Assembly
Click or drag to resize