phaser/src/renderer/ScaleModes.js

35 lines
519 B
JavaScript
Raw Normal View History

2018-02-09 13:46:04 +00:00
/**
* @namespace Phaser.ScaleModes
*/
module.exports = {
2018-02-09 13:46:04 +00:00
/**
* Default Scale Mode (Linear).
*
* @name Phaser.ScaleModes.DEFAULT
* @type {integer}
* @since 3.0.0
*/
DEFAULT: 0,
2018-02-09 13:46:04 +00:00
/**
* Linear Scale Mode.
*
* @name Phaser.ScaleModes.LINEAR
* @type {integer}
* @since 3.0.0
*/
LINEAR: 0,
2018-02-09 13:46:04 +00:00
/**
* Nearest Scale Mode.
*
* @name Phaser.ScaleModes.NEAREST
* @type {integer}
* @since 3.0.0
*/
NEAREST: 1
};