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