Skip to content

Commit 660ab85

Browse files
committed
Merge pull request phaserjs#1833 from danxexe/fix-drawcircle-docstring
Fix docstring of drawCircle
2 parents a971928 + 860d2e9 commit 660ab85

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

src/pixi/primitives/Graphics.js

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -546,15 +546,15 @@ PIXI.Graphics.prototype.drawRoundedRect = function(x, y, width, height, radius)
546546
return this;
547547
};
548548

549-
/*
550-
* Draws a circle.
551-
*
552-
* @method Phaser.Graphics.prototype.drawCircle
553-
* @param {Number} x - The X coordinate of the center of the circle.
554-
* @param {Number} y - The Y coordinate of the center of the circle.
555-
* @param {Number} diameter - The diameter of the circle.
556-
* @return {Graphics} This Graphics object.
557-
*/
549+
/**
550+
* Draws a circle.
551+
*
552+
* @method drawCircle
553+
* @param x {Number} The X coordinate of the center of the circle
554+
* @param y {Number} The Y coordinate of the center of the circle
555+
* @param diameter {Number} The diameter of the circle
556+
* @return {Graphics}
557+
*/
558558
PIXI.Graphics.prototype.drawCircle = function(x, y, diameter)
559559
{
560560
this.drawShape(new PIXI.Circle(x, y, diameter));

0 commit comments

Comments
 (0)