2018-02-12 16:01:20 +00:00
|
|
|
/**
|
|
|
|
* @author Richard Davey <rich@photonstorm.com>
|
|
|
|
* @copyright 2018 Photon Storm Ltd.
|
|
|
|
* @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
|
|
|
|
*/
|
|
|
|
|
2018-02-09 13:46:04 +00:00
|
|
|
/**
|
2018-03-29 15:42:20 +00:00
|
|
|
* Phaser Scale Modes.
|
|
|
|
*
|
|
|
|
* @name Phaser.ScaleModes
|
|
|
|
* @enum {integer}
|
|
|
|
* @memberOf Phaser
|
2018-10-09 12:40:00 +00:00
|
|
|
* @readonly
|
2018-03-29 15:42:20 +00:00
|
|
|
* @since 3.0.0
|
2018-02-09 13:46:04 +00:00
|
|
|
*/
|
|
|
|
|
2017-01-18 14:09:26 +00:00
|
|
|
module.exports = {
|
|
|
|
|
2018-02-09 13:46:04 +00:00
|
|
|
/**
|
|
|
|
* Default Scale Mode (Linear).
|
|
|
|
*
|
|
|
|
* @name Phaser.ScaleModes.DEFAULT
|
|
|
|
*/
|
2017-01-18 14:09:26 +00:00
|
|
|
DEFAULT: 0,
|
2018-02-09 13:46:04 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Linear Scale Mode.
|
|
|
|
*
|
|
|
|
* @name Phaser.ScaleModes.LINEAR
|
|
|
|
*/
|
2017-01-18 14:09:26 +00:00
|
|
|
LINEAR: 0,
|
2018-02-09 13:46:04 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Nearest Scale Mode.
|
|
|
|
*
|
|
|
|
* @name Phaser.ScaleModes.NEAREST
|
|
|
|
*/
|
2017-01-18 14:09:26 +00:00
|
|
|
NEAREST: 1
|
|
|
|
|
|
|
|
};
|