From 76df9d9a928c156169f061fcf64572620fef6c33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Tue, 16 Aug 2011 13:53:36 +0200 Subject: [PATCH] Fix documentation for beans. --- src/basic/Matrix.js | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/src/basic/Matrix.js b/src/basic/Matrix.js index 16bc87e7..4dbf59f5 100644 --- a/src/basic/Matrix.js +++ b/src/basic/Matrix.js @@ -422,7 +422,10 @@ var Matrix = this.Matrix = Base.extend(/** @lends Matrix# */{ }, /** - * @return {Number} The determinant of this transform + * The determinant of this transform. + * + * @type Number + * @bean */ getDeterminant: function() { return this._a * this._d - this._b * this._c; @@ -439,11 +442,12 @@ var Matrix = this.Matrix = Base.extend(/** @lends Matrix# */{ }, /** - * Returns the rotation angle of the matrix. If a non-uniform - * rotation is applied as a result of a shear() or scale() command, - * undefined is returned, as the resulting transformation cannot be - * expressed in one rotation angle - * @return {Number} The rotation angle of the matrix + * The rotation angle of the matrix. If a non-uniform rotation is applied as + * a result of a shear() or scale() command, undefined is returned, as the + * resulting transformation cannot be expressed in one rotation angle. + * + * @type Number + * @bean */ getRotation: function() { var angle1 = -Math.atan2(this._b, this._d),