LEADTOOLS (Leadtools assembly)

Intersect Method (LeadRectHelper)

Show in webframe







A rectangle to intersect.
A rectangle to intersect
Returns an LeadRect that represents the intersection of two rectangles.
Syntax
public static LeadRect Intersect( 
   LeadRect rect1,
   LeadRect rect2
)
'Declaration
 
Public Shared Function Intersect( _
   ByVal rect1 As LeadRect, _
   ByVal rect2 As LeadRect _
) As LeadRect
'Usage
 
Dim rect1 As LeadRect
Dim rect2 As LeadRect
Dim value As LeadRect
 
value = LeadRectHelper.Intersect(rect1, rect2)
public static LeadRect Intersect( 
   LeadRect rect1,
   LeadRect rect2
)

            

            
 function Leadtools.LeadRectHelper.Intersect( 
   rect1 ,
   rect2 
)
public:
static LeadRect Intersect( 
   LeadRect rect1,
   LeadRect rect2
) 

Parameters

rect1
A rectangle to intersect.
rect2
A rectangle to intersect

Return Value

A third LeadRect the size of which represents the overlapped area of the two specified rectangles. If there is no intersection, an Empty rectangle is returned.
Requirements

Target Platforms

See Also

Reference

LeadRectHelper Class
LeadRectHelper Members

 

 


Products | Support | Contact Us | Copyright Notices

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