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 23.0.2024.2.29
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.