mirror of
https://github.com/photonstorm/phaser
synced 2024-12-23 19:43:28 +00:00
40 lines
721 B
JavaScript
40 lines
721 B
JavaScript
/**
|
|
* @author Richard Davey <rich@photonstorm.com>
|
|
* @copyright 2018 Photon Storm Ltd.
|
|
* @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
|
|
*/
|
|
|
|
/**
|
|
* @namespace Phaser.ScaleModes
|
|
*/
|
|
|
|
module.exports = {
|
|
|
|
/**
|
|
* Default Scale Mode (Linear).
|
|
*
|
|
* @name Phaser.ScaleModes.DEFAULT
|
|
* @type {integer}
|
|
* @since 3.0.0
|
|
*/
|
|
DEFAULT: 0,
|
|
|
|
/**
|
|
* Linear Scale Mode.
|
|
*
|
|
* @name Phaser.ScaleModes.LINEAR
|
|
* @type {integer}
|
|
* @since 3.0.0
|
|
*/
|
|
LINEAR: 0,
|
|
|
|
/**
|
|
* Nearest Scale Mode.
|
|
*
|
|
* @name Phaser.ScaleModes.NEAREST
|
|
* @type {integer}
|
|
* @since 3.0.0
|
|
*/
|
|
NEAREST: 1
|
|
|
|
};
|