LEADTOOLS (Leadtools assembly)

IntersectRects Method

Show in webframe







The first rectangle to compare
The second rectangle to compare
Returns the intersection of the specified rectangles.
Syntax
public static LeadRectD IntersectRects( 
   LeadRectD rect1,
   LeadRectD rect2
)
'Declaration
 
Public Shared Function IntersectRects( _
   ByVal rect1 As LeadRectD, _
   ByVal rect2 As LeadRectD _
) As LeadRectD
'Usage
 
Dim rect1 As LeadRectD
Dim rect2 As LeadRectD
Dim value As LeadRectD
 
value = LeadRectD.IntersectRects(rect1, rect2)
public static LeadRectD IntersectRects( 
   LeadRectD rect1,
   LeadRectD rect2
)

            

            
 function Leadtools.LeadRectD.IntersectRects( 
   rect1 ,
   rect2 
)
public:
static LeadRectD IntersectRects( 
   LeadRectD rect1,
   LeadRectD rect2
) 

Parameters

rect1
The first rectangle to compare
rect2
The second rectangle to compare

Return Value

The intersection of the two rectangles, or Empty if no intersection exists.
Remarks

If no intersection exists, the methods returns Empty.

Requirements

Target Platforms

See Also

Reference

LeadRectD Structure
LeadRectD Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.