Creates a javafx.animation.KeyFrame instance.
This object takes a duration value.
This node takes the attributes defined on the javafx.animation.KeyFrame class. see javafx.animation.KeyFrame
The onFinished attribute may take either a javafx.event.EventHandler object or a groovy closure object. The groovy closure will be called with the javafx.event.Event object as a single argument..
This node may take one or more *change *nodes. see
Creates a timeline KeyFrame.