←Select platform

UnionRects Method

Summary
Creates a rectangle that is exactly large enough to contain the two specified rectangles.
Syntax
C#
Objective-C
C++/CLI
Java
Python
public static LeadRectD UnionRects( 
   LeadRectD rect1, 
   LeadRectD rect2 
) 
LeadRectD LeadRectDUnion(LeadRectD rect1, LeadRectD rect2) 
public static LeadRectD unionRects( 
   LeadRectD rect1, 
   LeadRectD rect2 
); 
public: 
static LeadRectD UnionRects(  
   LeadRectD rect1, 
   LeadRectD rect2 
)  
def UnionRects(self,rect1,rect2): 

Parameters

rect1
The first rectangle to include.

rect2
The second rectangle to include.

Return Value

The resulting rectangle.

Requirements

Target Platforms

Help Version 23.0.2024.5.22
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.