mirror of
https://github.com/brl/mutter.git
synced 2024-12-26 12:52:14 +00:00
bd303d6efb
The ClutterAnimator support for parsing multiple properties should be verified in the conformance test suite. http://bugzilla.openedhand.com/show_bug.cgi?id=2003
41 lines
803 B
JSON
41 lines
803 B
JSON
[
|
|
{
|
|
"type" : "ClutterRectangle",
|
|
"id" : "foo",
|
|
"x" : 0,
|
|
"y" : 0,
|
|
"width" : 100,
|
|
"height" : 100
|
|
},
|
|
{
|
|
"type" : "ClutterAnimator",
|
|
"id" : "animator",
|
|
"duration" : 1000,
|
|
|
|
"properties" : [
|
|
{
|
|
"object" : "foo",
|
|
"name" : "x",
|
|
"ease-in" : true,
|
|
"interpolation" : "linear",
|
|
"keys" : [
|
|
[ 0.0, "easeInCubic", 100.0 ],
|
|
[ 0.2, "easeOutCubic", 150.0 ],
|
|
[ 0.8, "linear", 200.0 ]
|
|
]
|
|
},
|
|
{
|
|
"object" : "foo",
|
|
"name" : "y",
|
|
"ease-in" : true,
|
|
"interpolation" : "linear",
|
|
"keys" : [
|
|
[ 0.0, "easeInCubic", 100.0 ],
|
|
[ 0.2, "easeOutCubic", 150.0 ],
|
|
[ 0.8, "linear", 200.0 ]
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|