unionRects Method

Summary

Gets a LeadRectD that contains the union of two rectangles.

Syntax
TypeScript
JavaScript
unionRects = function( 
   rect1, 
   rect2 
) 
static unionRects( 
   rect1: LeadRectD, 
   rect2: LeadRectD 
): LeadRectD; 

Parameters

rect1

First rectangle.

rect2

Second rectangle.

Return Value

A third LeadRectD the size of which represents the union of the area of the two specified rectangles.

Requirements
Target Platforms
Help Version 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

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