Rect constructor
Implementation
Rect([double x = 0.0, double y = 0.0, double w = 0.0, double h = 0.0])
{
/** @type {number} */
this.left = x;
/** @type {number} */
this.top = y;
/** @type {number} */
this.width = w;
/** @type {number} */
this.height = h;
}