MindFusion.Charting for JavaScript Programmer's Guide
Rect.fromLTRB Method
See Also
 






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