Creates a Rect object with the specified edge locations.
Namespace: MindFusion.Drawing
Package: Rect.js
JavaScript Copy Code |
---|
function fromLTRB (l, t, r, b) |
Number. The x-coordinate of the upper-left corner of this Rect.
Number. The y-coordinate of the upper-left corner of this Rect.
Number. The x-coordinate of the lower-right corner of this Rect.
Number. The y-coordinate of the lower-right corner of this Rect.
Rect. A rectangle with the specified coordinates.