fromLTRB Method

Summary

Creates a LeadRectD with the specified edge locations.

Syntax
TypeScript
JavaScript
fromLTRB = function( 
   left, 
   top, 
   right, 
   bottom 
) 
static fromLTRB( 
   left: number, 
   top: number, 
   right: number, 
   bottom: number 
): LeadRectD; 

Parameters

left

The x-coordinate of the upper-left corner of the LeadRectD.

top

The y-coordinate of the upper-left corner of the LeadRectD.

right

The x-coordinate of the lower-right corner of the LeadRectD.

bottom

The y-coordinate of the lower-right corner of the LeadRectD.

Return Value

The resulting LeadRectD.

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.