LEADTOOLS JavaScript (Leadtools)

IntersectRects Method

Show in webframe
A rectangle to intersect.
A rectangle to intersect
Returns a LeadRectD that represents the intersection of two rectangles.
Syntax
 function Leadtools.LeadRectD.intersectRects( 
   rect1 ,
   rect2 
)

Parameters

ParameterTypeDescription
rect1LeadRectDA rectangle to intersect.
rect2LeadRectDA rectangle to intersect

Return Value

TypeDescription
LeadRectD 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.
See Also

Reference

LeadRectD Object
LeadRectD Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.