Rectangle.fromLTWH constructor
Construct a rectangle from its left and top edges, its width, and its height.
To construct a Rectangle from an vm.Vector2
and a Size, you can use the
rectangle constructor operator &
. See vm.Vector2.&
.
Implementation
const Rectangle.fromLTWH(double left, double top, double width, double height)
: this.fromLTRB(left, top, left + width, top + height);