Keyframe QML Type

A keyframe. 更多...

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

特性

详细描述

value that the property targeted by a KeyframeGroup should have at a specific frame .

An easing curve can be attached to the keyframe.

另请参阅 时间线 and KeyframeGroup .

特性文档编制

easing : var

The easing curve attached to the keyframe.

The curve is applied in the interval between the previous keyframe and this keyframe. In the following example, the easing curve on the second keyframe controls how values between the first and second keyframes are computed.

KeyframeGroup {
    Keyframe {
        frame: 0
        value: 0
    }
    Keyframe {
        frame: 50
        value: 50
        easing.type: Easing.InQuad
    }
    Keyframe {
        frame: 100
        value: 100
    }
}
								

frame : real

The position of the keyframe on the timeline.


value : var

The value of the keyframe.