diff --git a/src/rectangle.js b/src/rectangle.js index c6644546..8f255506 100644 --- a/src/rectangle.js +++ b/src/rectangle.js @@ -78,6 +78,11 @@ $.Rect = function(x, y, width, height, degrees) { */ this.height = typeof (height) === "number" ? height : 0; + /** + * The rotation of the rectangle, in degrees. + * @member {Number} degrees + * @memberof OpenSeadragon.Rect# + */ this.degrees = typeof (degrees) === "number" ? degrees : 0; // Normalizes the rectangle.