LEADTOOLS (Leadtools assembly)

Intersect Method (LeadRectDHelper)

Show in webframe







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

            

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

Parameters

rect1
A rectangle to intersect.
rect2
A rectangle to intersect

Return Value

A third LeadRectD 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

LeadRectDHelper Class
LeadRectDHelper Members

 

 


Products | Support | Contact Us | Copyright Notices

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