[DOC] Small changes
* fix wrong param description * add comment for constructor assignment (as in Point, Rectangle ...)
This commit is contained in:
parent
cfa90d4c89
commit
157dd4d149
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue