This commit is contained in:
photonstorm 2016-02-02 16:18:59 +00:00
parent 4e3c764207
commit 11fa0c2690

View file

@ -133,6 +133,8 @@ Phaser.Line.prototype = {
* Rotation takes place around the coordinates given.
*
* @method Phaser.Line#rotateAround
* @param {number} x - The x coordinate to offset the rotation from.
* @param {number} y - The y coordinate to offset the rotation from.
* @param {number} angle - The angle in radians (unless asDegrees is true) to rotate the line by.
* @param {boolean} [asDegrees=false] - Is the given angle in radians (false) or degrees (true)?
* @return {Phaser.Line} This line object