MindFusion.Charting for JavaScript Programmer's Guide
Rect.fromLTRB Method
See Also
Collapse All Expand All Language Filter: All Language Filter: Multiple Language Filter: None Language Filter: C# Language Filter: Visual Basic Language Filter: Java Language Filter: JavaScript Language Filter: C++ Language Filter: XAML

C#
Visual Basic
Java
JavaScript
C++
XAML

Creates a Rect object with the specified edge locations.

Namespace: MindFusion.Drawing
File: Rect.js

## Syntax

JavaScript Copy Code
function fromLTRB (l, t, r, b)

### Parameters

l

  Type: Number
  Number. The x-coordinate of the upper-left corner of this Rect.

t

  Type: Number
  Number. The y-coordinate of the upper-left corner of this Rect.

r

  Type: Number
  Number. The x-coordinate of the lower-right corner of this Rect.

b

  Type: Number
  Number. The y-coordinate of the lower-right corner of this Rect.

### Return Value

Type: Rect
Rect. A rectangle with the specified coordinates.

## See Also

Rect Members
Rect Class
MindFusion.Drawing Namespace