mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-01 15:52:40 +08:00
Fix type of cc.Graphics.arc()
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user