2018-02-12 16:01:20 +00:00
|
|
|
/**
|
2024-02-19 17:12:18 +00:00
|
|
|
* @author Richard Davey <rich@phaser.io>
|
|
|
|
* @copyright 2013-2024 Phaser Studio Inc.
|
2019-05-10 15:15:04 +00:00
|
|
|
* @license {@link https://opensource.org/licenses/MIT|MIT License}
|
2018-02-12 16:01:20 +00:00
|
|
|
*/
|
|
|
|
|
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,
|
2017-03-01 17:30:04 +00:00
|
|
|
BEGIN_PATH: 1,
|
|
|
|
CLOSE_PATH: 2,
|
2017-03-01 23:23:46 +00:00
|
|
|
FILL_RECT: 3,
|
|
|
|
LINE_TO: 4,
|
|
|
|
MOVE_TO: 5,
|
|
|
|
LINE_STYLE: 6,
|
|
|
|
FILL_STYLE: 7,
|
|
|
|
FILL_PATH: 8,
|
|
|
|
STROKE_PATH: 9,
|
2017-03-08 00:51:09 +00:00
|
|
|
FILL_TRIANGLE: 10,
|
2017-03-14 22:13:31 +00:00
|
|
|
STROKE_TRIANGLE: 11,
|
2017-05-08 20:13:48 +00:00
|
|
|
SAVE: 14,
|
|
|
|
RESTORE: 15,
|
|
|
|
TRANSLATE: 16,
|
|
|
|
SCALE: 17,
|
2018-07-26 14:04:19 +00:00
|
|
|
ROTATE: 18,
|
2018-07-27 01:13:58 +00:00
|
|
|
GRADIENT_FILL_STYLE: 21,
|
|
|
|
GRADIENT_LINE_STYLE: 22
|
2018-02-06 01:08:43 +00:00
|
|
|
|
2017-02-28 21:12:14 +00:00
|
|
|
};
|