ASP.NET Pack Programmer's Guide
Rect.fromLTRB Method
See Also
 





Creates a Rect object with the specified edge locations.

Namespace: MindFusion.Drawing
Package: Rect.js

 Syntax

JavaScript  Copy Code

function fromLTRB (l, t, r, b)

 Parameters

l

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

t

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

r

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

b

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

 Return Value

Type: Rect
A rectangle with the specified coordinates.

 See Also

Rect Members
Rect Class
MindFusion.Drawing Namespace