diff --git a/src/rectangle.js b/src/rectangle.js
index 4e3746eb..4507eb08 100644
--- a/src/rectangle.js
+++ b/src/rectangle.js
@@ -178,6 +178,22 @@ $.Rect.prototype = /** @lends OpenSeadragon.Rect.prototype */{
( this.height === other.height );
},
+ /**
+ * Multiply all dimensions in this Rect by a factor and return a new Rect.
+ * @function
+ * @param {Number} factor The factor to multiply vector components.
+ * @returns {OpenSeadragon.Rect} A new rect representing the multiplication
+ * of the vector components by the factor
+ */
+ times: function( factor ) {
+ return new OpenSeadragon.Rect(
+ this.x * factor,
+ this.y * factor,
+ this.width * factor,
+ this.height * factor
+ );
+ },
+
/**
* Rotates a rectangle around a point. Currently only 90, 180, and 270
* degrees are supported.
diff --git a/test/test.html b/test/test.html
index 592847bd..b837d733 100644
--- a/test/test.html
+++ b/test/test.html
@@ -31,5 +31,6 @@
+