NumberAnimation

API ReferenceRendererAnimationPropertyAnimationNumberAnimation

Rectangle {
    width: 100; height: 100
    color: 'red'
    NumberAnimation {
        running: true
        property: 'x'
        from: 0
        to: 300
        loop: true
        duration: 1700
    }
}

Source


NumberAnimation.New()

Static method of
NumberAnimation
Parameters
  • component — Componentoptional
  • options — Objectoptional
Returns
NumberAnimation

Source


constructor()

Extends
PropertyAnimation
Returns
NumberAnimation

Source


from

Type
Float

to

Type
Float

results matching ""

    No results matching ""