Fix type of cc.Graphics.arc()

This commit is contained in:
nishimura_shinichi
2018-03-19 15:14:41 +09:00
parent e551128150
commit 1a63121c7f
+1 -1
View File
@@ -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;