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