←Select platform

UnionRects Method

Summary

Creates a rectangle that is exactly large enough to contain the two specified rectangles.

Syntax
C#
VB
Objective-C
C++
Java
public static LeadRectD UnionRects( 
   LeadRectD rect1, 
   LeadRectD rect2 
) 
Public Shared Function UnionRects( _ 
   ByVal rect1 As LeadRectD, _ 
   ByVal rect2 As LeadRectD _ 
) As LeadRectD 
LeadRectD LeadRectDUnion(LeadRectD rect1, LeadRectD rect2) 
public static LeadRectD unionRects(LeadRectD rect1, LeadRectD rect2) 
public: 
static LeadRectD UnionRects(  
   LeadRectD rect1, 
   LeadRectD rect2 
)  

Parameters

rect1
The first rectangle to include.

rect2
The second rectangle to include.

Return Value

The resulting rectangle.

Requirements

Target Platforms

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

Leadtools Assembly