added missing Rect.degrees member to deocumentation

This commit is contained in:
Álvaro Martínez 2019-08-19 08:19:28 +02:00
parent 98d5e11fc7
commit cc28a0589f

View File

@ -78,6 +78,11 @@ $.Rect = function(x, y, width, height, degrees) {
*/ */
this.height = typeof (height) === "number" ? height : 0; 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; this.degrees = typeof (degrees) === "number" ? degrees : 0;
// Normalizes the rectangle. // Normalizes the rectangle.