Class: Quadratic

Phaser.Easing. Quadratic

new Quadratic()

Quadratic easing.

Source:

Methods

In(k) → {number}

Ease-in.

Parameters:
Name Type Description
k number

The value to be tweened.

Source:
Returns:

k^2.

Type
number

InOut(k) → {number}

Ease-in/out.

Parameters:
Name Type Description
k number

The value to be tweened.

Source:
Returns:

The tweened value.

Type
number

Out(k) → {number}

Ease-out.

Parameters:
Name Type Description
k number

The value to be tweened.

Source:
Returns:

k* (2-k).

Type
number
Phaser Copyright © 2012-2013 Photon Storm Ltd.
Documentation generated by JSDoc 3.2.0-dev on Thu Oct 03 2013 02:35:46 GMT+0100 (BST) using the DocStrap template.