fromLTRB Method (LeadRectD)

Summary

Creates a LeadRectD with the specified edge locations.

Syntax

JavaScript Syntax
fromLTRB = function(left, top, right, bottom)
TypeScript Syntax
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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools Assembly
Click or drag to resize