[DOC] Small changes

* fix wrong param description
* add comment for constructor assignment (as in Point, Rectangle ...)
This commit is contained in:
G. Bodenschatz 2013-08-20 23:40:21 +02:00
parent cfa90d4c89
commit 157dd4d149

View file

@ -9,8 +9,8 @@
* @constructor
* @param x {Number} The X coord of the upper-left corner of the framing rectangle of this ellipse
* @param y {Number} The Y coord of the upper-left corner of the framing rectangle of this ellipse
* @param width {Number} The overall height of this ellipse
* @param height {Number} The overall width of this ellipse
* @param width {Number} The overall width of this ellipse
* @param height {Number} The overall height of this ellipse
*/
PIXI.Ellipse = function(x, y, width, height)
{
@ -83,5 +83,5 @@ PIXI.Ellipse.getBounds = function()
return new PIXI.Rectangle(this.x, this.y, this.width, this.height);
}
// constructor
PIXI.Ellipse.prototype.constructor = PIXI.Ellipse;