tests/conform/scripts/test-animator-2.json
raw| 1 | [ |
| 2 | { |
| 3 | "type" : "ClutterRectangle", |
| 4 | "id" : "foo", |
| 5 | "x" : 0, |
| 6 | "y" : 0, |
| 7 | "width" : 100, |
| 8 | "height" : 100 |
| 9 | }, |
| 10 | { |
| 11 | "type" : "ClutterAnimator", |
| 12 | "id" : "animator", |
| 13 | "duration" : 1000, |
| 14 | |
| 15 | "properties" : [ |
| 16 | { |
| 17 | "object" : "foo", |
| 18 | "name" : "x", |
| 19 | "ease-in" : true, |
| 20 | "interpolation" : "linear", |
| 21 | "keys" : [ |
| 22 | [ 0.0, "easeInCubic", 100.0 ], |
| 23 | [ 0.2, "easeOutCubic", 150.0 ], |
| 24 | [ 0.8, "linear", 200.0 ] |
| 25 | ] |
| 26 | } |
| 27 | ] |
| 28 | } |
| 29 | ] |