From 860d2e95388bb03ce4603bd3ae6917eda52ebcff Mon Sep 17 00:00:00 2001 From: DanX Date: Wed, 3 Jun 2015 13:41:42 -0300 Subject: [PATCH] Fix docstring of drawCircle --- src/pixi/primitives/Graphics.js | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/pixi/primitives/Graphics.js b/src/pixi/primitives/Graphics.js index d79215a31..bdd3edc1e 100644 --- a/src/pixi/primitives/Graphics.js +++ b/src/pixi/primitives/Graphics.js @@ -546,15 +546,15 @@ PIXI.Graphics.prototype.drawRoundedRect = function(x, y, width, height, radius) return this; }; -/* -* Draws a circle. -* -* @method Phaser.Graphics.prototype.drawCircle -* @param {Number} x - The X coordinate of the center of the circle. -* @param {Number} y - The Y coordinate of the center of the circle. -* @param {Number} diameter - The diameter of the circle. -* @return {Graphics} This Graphics object. -*/ +/** + * Draws a circle. + * + * @method drawCircle + * @param x {Number} The X coordinate of the center of the circle + * @param y {Number} The Y coordinate of the center of the circle + * @param diameter {Number} The diameter of the circle + * @return {Graphics} + */ PIXI.Graphics.prototype.drawCircle = function(x, y, diameter) { this.drawShape(new PIXI.Circle(x, y, diameter));