qml旋转图片动画
程序员文章站
2022-05-03 12:50:39
...
Image {
id: img
source: "rotate.png"
transform: Rotation{
origin.x: img.width/2
origin.y: img.height/2
RotationAnimation on angle{
from: 0
to: 360
duration: 500
loops: Animation.Infinite
}
}
上一篇: Java设计模式之观察者模式