From 1a63121c7fc970d6c8bfffd915f2dd832775a512 Mon Sep 17 00:00:00 2001 From: nishimura_shinichi Date: Mon, 19 Mar 2018 15:14:41 +0900 Subject: [PATCH] Fix type of cc.Graphics.arc() --- cocos2d/core/graphics/graphics.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cocos2d/core/graphics/graphics.js b/cocos2d/core/graphics/graphics.js index c2dfa0920a..2a5843b8f5 100644 --- a/cocos2d/core/graphics/graphics.js +++ b/cocos2d/core/graphics/graphics.js @@ -242,7 +242,7 @@ var Graphics = cc.Class({ * @param {Number} [r] The arc's radius. * @param {Number} [startAngle] The angle at which the arc starts, measured clockwise from the positive x axis and expressed in radians. * @param {Number} [endAngle] The angle at which the arc ends, measured clockwise from the positive x axis and expressed in radians. - * @param {Number} [counterclockwise] An optional Boolean which, if true, causes the arc to be drawn counter-clockwise between the two angles. By default it is drawn clockwise. + * @param {Boolean} [counterclockwise] An optional Boolean which, if true, causes the arc to be drawn counter-clockwise between the two angles. By default it is drawn clockwise. */ arc: function (cx, cy, r, startAngle, endAngle, counterclockwise) { counterclockwise = counterclockwise || false;