clone


Description:

[ Version ( deprecated = true , deprecated_since = "1.10" , since = "0.4" ) ]
public Timeline clone ()

Warning: clone is deprecated since 1.10.

Create a new Timeline instance which has property values matching that of supplied timeline.

Note:

Use Timeline or @new instead

The cloned timeline will not be started and will not be positioned to the current position of the original this : you will have to start it with start.

The only cloned properties are:

- duration - loop - delay - direction

Parameters:

this

Timeline to duplicate.

Returns:

a new Timeline, cloned from this