2015-10-02 02:27:59 +03:00
|
|
|
{
|
|
|
|
"events": [{
|
|
|
|
"event": {
|
|
|
|
"type": "mousedown",
|
|
|
|
"button": 0,
|
|
|
|
"shiftKey": false,
|
|
|
|
"altKey": false,
|
|
|
|
"ctrlKey": false
|
|
|
|
},
|
|
|
|
"coords": {
|
|
|
|
"x": 0,
|
|
|
|
"y": 0
|
|
|
|
},
|
|
|
|
"type": "mouse-event"
|
2015-10-02 02:48:35 +03:00
|
|
|
}, {
|
|
|
|
"event": {
|
|
|
|
"type": "mousemove",
|
|
|
|
"button": 0,
|
|
|
|
"shiftKey": false,
|
|
|
|
"altKey": false,
|
|
|
|
"ctrlKey": false
|
|
|
|
},
|
|
|
|
"coords": {
|
|
|
|
"x": 0,
|
|
|
|
"y": 0
|
|
|
|
},
|
|
|
|
"type": "mouse-event"
|
2015-10-02 02:27:59 +03:00
|
|
|
}, {
|
|
|
|
"event": {
|
|
|
|
"type": "mouseup",
|
|
|
|
"button": 0,
|
|
|
|
"shiftKey": false,
|
|
|
|
"altKey": false,
|
|
|
|
"ctrlKey": false
|
|
|
|
},
|
|
|
|
"coords": {
|
|
|
|
"x": 0,
|
|
|
|
"y": 0
|
|
|
|
},
|
|
|
|
"type": "mouse-event"
|
|
|
|
}, {
|
|
|
|
"type": "transformtool-event",
|
|
|
|
"toolId": "tool-flip",
|
|
|
|
"event": {
|
|
|
|
"shiftKey": false,
|
|
|
|
"altKey": false,
|
|
|
|
"ctrlKey": false
|
|
|
|
}
|
|
|
|
}, {
|
|
|
|
"type": "transformtool-event",
|
|
|
|
"toolId": "tool-flip",
|
|
|
|
"event": {
|
|
|
|
"shiftKey": false,
|
|
|
|
"altKey": false,
|
|
|
|
"ctrlKey": false
|
|
|
|
}
|
|
|
|
}, {
|
|
|
|
"type": "keyboard-event",
|
|
|
|
"event": {
|
|
|
|
"which": 90,
|
|
|
|
"shiftKey": false,
|
|
|
|
"altKey": false,
|
|
|
|
"ctrlKey": true,
|
|
|
|
"target": {
|
|
|
|
"nodeName": "BODY"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}, {
|
2015-10-02 02:48:35 +03:00
|
|
|
"type": "keyboard-event",
|
|
|
|
"event": {
|
|
|
|
"which": 90,
|
|
|
|
"shiftKey": false,
|
|
|
|
"altKey": false,
|
|
|
|
"ctrlKey": true,
|
|
|
|
"target": {
|
|
|
|
"nodeName": "BODY"
|
|
|
|
}
|
|
|
|
}
|
2015-10-02 02:27:59 +03:00
|
|
|
}, {
|
2015-10-02 02:48:35 +03:00
|
|
|
"type": "keyboard-event",
|
|
|
|
"event": {
|
|
|
|
"which": 90,
|
|
|
|
"shiftKey": false,
|
|
|
|
"altKey": false,
|
|
|
|
"ctrlKey": true,
|
|
|
|
"target": {
|
|
|
|
"nodeName": "BODY"
|
|
|
|
}
|
|
|
|
}
|
2015-10-02 02:27:59 +03:00
|
|
|
}, {
|
2015-10-02 02:48:35 +03:00
|
|
|
"type": "keyboard-event",
|
2015-10-02 02:27:59 +03:00
|
|
|
"event": {
|
2015-10-02 02:48:35 +03:00
|
|
|
"which": 89,
|
2015-10-02 02:27:59 +03:00
|
|
|
"shiftKey": false,
|
|
|
|
"altKey": false,
|
2015-10-02 02:48:35 +03:00
|
|
|
"ctrlKey": true,
|
|
|
|
"target": {
|
|
|
|
"nodeName": "BODY"
|
|
|
|
}
|
|
|
|
}
|
2015-10-02 02:27:59 +03:00
|
|
|
}, {
|
2015-10-02 02:48:35 +03:00
|
|
|
"type": "keyboard-event",
|
2015-10-02 02:27:59 +03:00
|
|
|
"event": {
|
2015-10-02 02:48:35 +03:00
|
|
|
"which": 89,
|
2015-10-02 02:27:59 +03:00
|
|
|
"shiftKey": false,
|
|
|
|
"altKey": false,
|
2015-10-02 02:48:35 +03:00
|
|
|
"ctrlKey": true,
|
|
|
|
"target": {
|
|
|
|
"nodeName": "BODY"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}, {
|
|
|
|
"type": "keyboard-event",
|
|
|
|
"event": {
|
|
|
|
"which": 89,
|
|
|
|
"shiftKey": false,
|
|
|
|
"altKey": false,
|
|
|
|
"ctrlKey": true,
|
|
|
|
"target": {
|
|
|
|
"nodeName": "BODY"
|
|
|
|
}
|
|
|
|
}
|
2015-10-02 02:27:59 +03:00
|
|
|
}],
|
|
|
|
"initialState": {
|
|
|
|
"size": {
|
|
|
|
"width": 2,
|
|
|
|
"height": 2
|
|
|
|
},
|
|
|
|
"primaryColor": "#000000",
|
|
|
|
"secondaryColor": "rgba(0, 0, 0, 0)",
|
|
|
|
"selectedTool": "tool-pen",
|
2015-10-02 02:48:35 +03:00
|
|
|
"step": 100
|
2015-10-02 02:27:59 +03:00
|
|
|
},
|
2015-10-02 02:48:35 +03:00
|
|
|
"png": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAYAAABytg0kAAAAFElEQVQIW2NkYGD4z8DAwMjIAAUADikBA/ggJToAAAAASUVORK5CYII="
|
2015-10-02 02:27:59 +03:00
|
|
|
}
|