projects
/
profile
/
ivi
/
qtdeclarative.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
951c5b2e5708ce4dceaf2c71bd32ec6915480417
[profile/ivi/qtdeclarative.git]
/
tests
/
auto
/
qtquick2
/
qdeclarativeanimations
/
data
/
pathAnimation2.qml
1
import QtQuick 2.0
2
3
Rectangle {
4
width: 400
5
height: 400
6
7
Rectangle {
8
id: redRect
9
color: "red"
10
width: 100; height: 100
11
x: 50; y: 50
12
}
13
14
PathAnimation {
15
target: redRect
16
duration: 100;
17
endRotation: 0
18
orientationEntryInterval: .1
19
orientationExitInterval: .1
20
orientation: PathAnimation.RightFirst
21
path: Path {
22
startX: 50; startY: 50
23
PathLine { x: 300; y: 300 }
24
}
25
}
26
}