piskel/test/drawing/tests/transform.clone.once.json

87 lines
2 KiB
JSON
Raw Normal View History

{
"events": [{
"type": "instrumented-event",
"methodName": "duplicateFrameAt",
"args": [0]
}, {
"type": "instrumented-event",
"methodName": "createLayer",
"args": []
}, {
"event": {
"type": "mousedown",
"button": 0,
"shiftKey": false,
"altKey": false,
"ctrlKey": false
},
"coords": {
"x": 1,
"y": 0
},
"type": "mouse-event"
}, {
"event": {
"type": "mouseup",
"button": 0,
"shiftKey": false,
"altKey": false,
"ctrlKey": false
},
"coords": {
"x": 1,
"y": 0
},
"type": "mouse-event"
}, {
"type": "instrumented-event",
"methodName": "setCurrentLayerIndex",
"args": [0]
}, {
"event": {
"type": "mousedown",
"button": 0,
"shiftKey": false,
"altKey": false,
"ctrlKey": false
},
"coords": {
"x": 0,
"y": 1
},
"type": "mouse-event"
}, {
"event": {
"type": "mouseup",
"button": 0,
"shiftKey": false,
"altKey": false,
"ctrlKey": false
},
"coords": {
"x": 0,
"y": 1
},
"type": "mouse-event"
}, {
"type": "transformtool-event",
"toolId": "tool-clone",
"event": {
"shiftKey": false,
"altKey": false,
"ctrlKey": false
}
}],
"initialState": {
"size": {
"width": 2,
"height": 2
},
"primaryColor": "#000000",
"secondaryColor": "rgba(0, 0, 0, 0)",
"selectedTool": "tool-pen",
"step" : 100
},
"png": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAACCAYAAAB/qH1jAAAAFklEQVQIW2NkQAX/GRkYGP4zMDDAaQAkOwMC7/zdVgAAAABJRU5ErkJggg=="
}