Class: Tween

rune.tween.Tween(options)

The Tween class represents a linear interpolation between a beginning and ending value.

Constructor

new Tween(options)

Creates a new instance of Tween.
Parameters:
Name Type Description
options Object Tween object settings.
Source:

Members

(static) LOOP :string

Specifies that a repeating animation should progress in a forward direction on every iteration.
Type:
  • string
Source:

(static) REVERSE :string

Specifies that a repeating animation should reverse direction on every iteration. For example, a reversing animation would play forward on the even iterations and in reverse on the odd iterations.
Type:
  • string
Source:

(readonly) complete :boolean

If the animation is completed, ie completed the number of requested cycles. Completed animations are automatically removed by the handler.
Type:
  • boolean
Source:

(readonly) complete :boolean

The progression of the current cycle.
Type:
  • boolean
Source: