phaser/src/gameobjects/graphics/Commands.js

28 lines
428 B
JavaScript
Raw Normal View History

2018-02-06 01:08:43 +00:00
/**
* @namespace Phaser.GameObjects.Graphics.Commands
*/
2017-02-28 21:12:14 +00:00
module.exports = {
2018-02-06 01:08:43 +00:00
2017-02-28 21:12:14 +00:00
ARC: 0,
BEGIN_PATH: 1,
CLOSE_PATH: 2,
FILL_RECT: 3,
LINE_TO: 4,
MOVE_TO: 5,
LINE_STYLE: 6,
FILL_STYLE: 7,
FILL_PATH: 8,
STROKE_PATH: 9,
FILL_TRIANGLE: 10,
STROKE_TRIANGLE: 11,
2017-03-15 19:23:10 +00:00
LINE_FX_TO: 12,
2017-05-08 20:13:48 +00:00
MOVE_FX_TO: 13,
SAVE: 14,
RESTORE: 15,
TRANSLATE: 16,
SCALE: 17,
ROTATE: 18
2018-02-06 01:08:43 +00:00
2017-02-28 21:12:14 +00:00
};