KeyframeGroup QML Type

A keyframe group. 更多...

导入语句: import QtQuick.Timeline .
Since: Qt Quick Ultralite 1.3

特性

详细描述

A keyframe group contains all keyframes for a specific property of an item. It always belongs to a timeline.

KeyframeGroup {
    target: myitem
    property: "x"
    Keyframe {
        frame: 20
        value: 50
    }
    Keyframe {
        frame: 100
        value: 1000
    }
}
						

注意: Qt Quick Ultralite Timeline does not support the keyframes property .

另请参阅 时间线 and Keyframe .

特性文档编制

property : string

The property that is targeted by the keyframe group.


target : id

The item that is targeted by the keyframe group.