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 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly