W3cubDocs

/Phaser

Class: Phaser.Easing.Circular

Constructor

new Circular()

Circular easing.

Source code: tween/Easing.js (Line 344)

Public Methods

In(k) → {number}

Circular ease-in.

Parameters
Name Type Description
k number

The value to be tweened.

Returns
number -

The tweened value.

Source code: tween/Easing.js (Line 346)

InOut(k) → {number}

Circular ease-in/out.

Parameters
Name Type Description
k number

The value to be tweened.

Returns
number -

The tweened value.

Source code: tween/Easing.js (Line 372)

Out(k) → {number}

Circular ease-out.

Parameters
Name Type Description
k number

The value to be tweened.

Returns
number -

The tweened value.

Source code: tween/Easing.js (Line 359)

© 2016 Richard Davey, Photon Storm Ltd.
Licensed under the MIT License.
http://phaser.io/docs/2.6.2/Phaser.Easing.Circular.html