forked from phaserjs/phaser
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCommands.js
More file actions
37 lines (33 loc) · 732 Bytes
/
Copy pathCommands.js
File metadata and controls
37 lines (33 loc) · 732 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/**
* @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.GameObjects.Graphics.Commands
*/
module.exports = {
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,
LINE_FX_TO: 12,
MOVE_FX_TO: 13,
SAVE: 14,
RESTORE: 15,
TRANSLATE: 16,
SCALE: 17,
ROTATE: 18,
SET_TEXTURE: 19,
CLEAR_TEXTURE: 20,
GRADIENT_FILL_STYLE: 21,
GRADIENT_LINE_STYLE: 22
};