Documents the return type for imageToViewportRectangle

This commit is contained in:
David Baker 2017-04-12 16:12:47 -06:00 committed by GitHub
parent f86848f965
commit a8dba2a494

View File

@ -1208,6 +1208,7 @@ $.Viewport.prototype = {
* in image coordinate system. * in image coordinate system.
* @param {Number} [pixelWidth] the width in pixel of the rectangle. * @param {Number} [pixelWidth] the width in pixel of the rectangle.
* @param {Number} [pixelHeight] the height in pixel of the rectangle. * @param {Number} [pixelHeight] the height in pixel of the rectangle.
* @returns {OpenSeadragon.Rect} This image's bounds in viewport coordinates
*/ */
imageToViewportRectangle: function(imageX, imageY, pixelWidth, pixelHeight) { imageToViewportRectangle: function(imageX, imageY, pixelWidth, pixelHeight) {
var rect = imageX; var rect = imageX;