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

Leadtools Assembly