diff --git a/README.md b/README.md index 309f400..2243ce5 100644 --- a/README.md +++ b/README.md @@ -96,7 +96,6 @@ // You need to create a root container that will hold the scene you want to draw. var stage = new PIXI.Container(); -var bunny; // Declare a global variable for our sprite so that the animate function can access it. var bunny = null; diff --git a/README.md b/README.md index 309f400..2243ce5 100644 --- a/README.md +++ b/README.md @@ -96,7 +96,6 @@ // You need to create a root container that will hold the scene you want to draw. var stage = new PIXI.Container(); -var bunny; // Declare a global variable for our sprite so that the animate function can access it. var bunny = null; diff --git a/src/core/graphics/Graphics.js b/src/core/graphics/Graphics.js index dbea637..f18c736 100644 --- a/src/core/graphics/Graphics.js +++ b/src/core/graphics/Graphics.js @@ -981,7 +981,7 @@ /** * Draws the given shape to this Graphics object. Can be any of Circle, Rectangle, Ellipse, Line or Polygon. * - * @param shape {PIXI.Circle|PIXI.Rectangle|PIXI.Ellipse|PIXI.Line|PIXI.Polygon} The shape object to draw. + * @param shape {PIXI.Circle|PIXI.Ellipse|PIXI.Polygon|PIXI.Rectangle|PIXI.RoundedRectangle} The shape object to draw. * @return {PIXI.GraphicsData} The generated GraphicsData object. */ Graphics.prototype.drawShape = function (shape) diff --git a/README.md b/README.md index 309f400..2243ce5 100644 --- a/README.md +++ b/README.md @@ -96,7 +96,6 @@ // You need to create a root container that will hold the scene you want to draw. var stage = new PIXI.Container(); -var bunny; // Declare a global variable for our sprite so that the animate function can access it. var bunny = null; diff --git a/src/core/graphics/Graphics.js b/src/core/graphics/Graphics.js index dbea637..f18c736 100644 --- a/src/core/graphics/Graphics.js +++ b/src/core/graphics/Graphics.js @@ -981,7 +981,7 @@ /** * Draws the given shape to this Graphics object. Can be any of Circle, Rectangle, Ellipse, Line or Polygon. * - * @param shape {PIXI.Circle|PIXI.Rectangle|PIXI.Ellipse|PIXI.Line|PIXI.Polygon} The shape object to draw. + * @param shape {PIXI.Circle|PIXI.Ellipse|PIXI.Polygon|PIXI.Rectangle|PIXI.RoundedRectangle} The shape object to draw. * @return {PIXI.GraphicsData} The generated GraphicsData object. */ Graphics.prototype.drawShape = function (shape) diff --git a/src/core/graphics/GraphicsData.js b/src/core/graphics/GraphicsData.js index 1d33508..bf9b044 100644 --- a/src/core/graphics/GraphicsData.js +++ b/src/core/graphics/GraphicsData.js @@ -52,7 +52,7 @@ this.fill = fill; /* - * @member {PIXI.Circle|PIXI.Rectangle|PIXI.Ellipse|PIXI.Line|PIXI.Polygon} The shape object to draw. + * @member {PIXI.Circle|PIXI.Ellipse|PIXI.Polygon|PIXI.Rectangle|PIXI.RoundedRectangle} The shape object to draw. */ this.shape = shape;